ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutView Class / CaptureThumbnail Method / CaptureThumbnail(Int32) Method
Input dpi
Version

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

Parameters

dpi
Input dpi

Return Value

A bitmap of the captured content.
Remarks
The dpi is used to generate a width and height in pixels for the output bitmap based on the layout page dimensions. 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