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

CaptureThumbnail Method (MapView)
Capture a bitmap of the MapView content.
Syntax
public BitmapSource CaptureThumbnail( 
   int width,
   int height
)

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

ArcGIS Pro version: 3 or higher.
See Also