ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / EditingOptions Class / GetDefaultVertexSymbolOptions Method
The type of vertex symbol to obtain.
Example

In This Topic
    GetDefaultVertexSymbolOptions Method
    In This Topic
    Gets the default symbol information for a vertex while sketching. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public VertexSymbolOptions GetDefaultVertexSymbolOptions( 
       VertexSymbolType symbolType
    )
    Public Function GetDefaultVertexSymbolOptions( _
       ByVal symbolType As VertexSymbolType _
    ) As VertexSymbolOptions

    Parameters

    symbolType
    The type of vertex symbol to obtain.

    Return Value

    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Example
    Set Sketch Vertex Symbol Back to Default
    //var options = ApplicationOptions.EditingOptions;
    QueuedTask.Run(() =>
    {
      //ditto for reg selected and current selected, unselected
      var def_reg_unsel = 
        options.GetDefaultVertexSymbolOptions(VertexSymbolType.RegularUnselected);
      //apply default
      options.SetVertexSymbolOptions(
        VertexSymbolType.RegularUnselected, def_reg_unsel);
    });
    
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also