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

    GetDefaultVertexSymbolOptions Method
    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
    )

    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

    ArcGIS Pro version: 3 or higher.
    See Also