ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Editing.Templates Namespace / EditingTemplate Class / GeneratePreviewAsync Method
the required icon width in pixels
the required icon height in pixels

In This Topic
    GeneratePreviewAsync Method
    In This Topic
    Generates a preview icon that represents this EditingTemplate.
    Syntax
    public Task<ImageSource> GeneratePreviewAsync( 
       int width,
       int height
    )
    Public Function GeneratePreviewAsync( _
       ByVal width As Integer, _
       ByVal height As Integer _
    ) As Task(Of ImageSource)

    Parameters

    width
    the required icon width in pixels
    height
    the required icon height in pixels
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also