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

GeneratePreviewAsync Method (EditingTemplate)
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

ArcGIS Pro version: 3 or higher.
See Also