ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping.Controls Namespace / MapControl Class / CaptureThumbnail Method
The width of the thumbnail.
The height of the thumbnail.

In This Topic
    CaptureThumbnail Method (MapControl)
    In This Topic
    Capture a bitmap of the MapControl content.
    Syntax
    public BitmapSource CaptureThumbnail( 
       int width,
       int height
    )
    Public Function CaptureThumbnail( _
       ByVal width As Integer, _
       ByVal height As Integer _
    ) As BitmapSource

    Parameters

    width
    The width of the thumbnail.
    height
    The height of the thumbnail.

    Return Value

    A bitmap of the captured content.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also