ArcGIS Pro 2.9 API Reference Guide
SetSketchVertexSymbolOptions Method

ArcGIS.Desktop.Mapping Namespace > MapTool Class : SetSketchVertexSymbolOptions Method
The type of vertex symbol to obtain.
The new vertex symbol.
Sets the symbol for a vertex while sketching. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
protected void SetSketchVertexSymbolOptions( 
   VertexSymbolType symbolType,
   VertexSymbolOptions vertexSymbol
)
Protected Sub SetSketchVertexSymbolOptions( _
   ByVal symbolType As VertexSymbolType, _
   ByVal vertexSymbol As VertexSymbolOptions _
) 

Parameters

symbolType
The type of vertex symbol to obtain.
vertexSymbol
The new vertex symbol.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Symbol options are not valid. See ArcGIS.Desktop.Core.EditingOptions.CanSetVertexSymbolOptions for details on option settings.
Remarks
This method calls the ArcGIS.Desktop.Core.EditingOptions.CanSetVertexSymbolOptions function prior to setting the symbol values. If the options are invalid, no updates are made to the symbol.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

MapTool Class
MapTool Members