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

GeneratePreviewAsync Method
Generates a preview icon that represents this EditingTemplate.
Syntax
public Task<ImageSource> GeneratePreviewAsync( 
   int width,
   int height
)

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

ArcGIS Pro version: 2.0 or higher.
See Also