ArcGIS Pro 2.8 API Reference Guide
GeneratePreviewAsync Method

ArcGIS.Desktop.Editing.Templates Namespace > EditingTemplate Class : GeneratePreviewAsync Method
the required icon width in pixels
the required icon height in pixels
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 10, Windows 8.1

See Also

Reference

EditingTemplate Class
EditingTemplate Members