ArcGIS Pro 2.9 API Reference Guide
CaptureThumbnail Method (MapControl)

ArcGIS.Desktop.Mapping.Controls Namespace > MapControl Class : CaptureThumbnail Method
The width of the thumbnail.
The height of the thumbnail.
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, Windows 8.1

See Also

Reference

MapControl Class
MapControl Members