ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutView Class / CaptureThumbnail Method / CaptureThumbnail(Int32,Int32) Method
The width of the thumbnail in pixels.
The height of the thumbnail in pixels.
Version

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

Parameters

width
The width of the thumbnail in pixels.
height
The height of the thumbnail in pixels.

Return Value

A bitmap of the captured content.
Remarks
If the LayoutView is not ready (IsReady) null will be returned.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also