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

In This Topic
    CaptureThumbnail(Int32) Method
    In This Topic
    Capture a bitmap of the LayoutView content.
    Syntax
    public BitmapSource CaptureThumbnail( 
       int dpi
    )
    Public Overloads Function CaptureThumbnail( _
       ByVal dpi As Integer _
    ) As BitmapSource

    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