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.

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, Windows 8.1

ArcGIS Pro version: 2.1 or higher.
See Also