ArcGIS Pro 3.0 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, Windows 8.1

    See Also