ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapView Class / CaptureThumbnail Method
The width of the thumbnail.
The height of the thumbnail.

In This Topic
    CaptureThumbnail Method (MapView)
    In This Topic
    Capture a bitmap of the MapView 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.
    Remarks
    If the MapView is not ready (IsReady) null will be returned.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also