ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core Namespace / VertexSymbolOptions Class / VertexSymbolOptions Constructor
The vertex symbol type
Example

In This Topic
    VertexSymbolOptions Constructor
    In This Topic
    Creates a new VertexSymbolOptions for the specified vertex type.
    Syntax
    Public Function New( _
       ByVal vertexSymbolType As VertexSymbolType _
    )
    public VertexSymbolOptions( 
       VertexSymbolType vertexSymbolType
    )

    Parameters

    vertexSymbolType
    The vertex symbol type
    Example
    Set Sketch Vertex Symbol Options
    {
      var options = ApplicationOptions.EditingOptions;
      //var options = ApplicationOptions.EditingOptions;
      await QueuedTask.Run(() =>
      {
        //change the regular unselected vertex symbol
        //default is a green, hollow, square, 5pts. Change to
        //Blue outline diamond, 10 pts
        var vertexSymbol = new VertexSymbolOptions(VertexSymbolType.RegularUnselected);
        vertexSymbol.OutlineColor = ColorFactory.Instance.BlueRGB;
        vertexSymbol.MarkerType = VertexMarkerType.Diamond;
        vertexSymbol.Size = 10;
    
        //Are these valid?
        if (options.CanSetVertexSymbolOptions(
             VertexSymbolType.RegularUnselected, vertexSymbol))
        {
          //apply them
          options.SetVertexSymbolOptions(VertexSymbolType.RegularUnselected, vertexSymbol);
        }
      });
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also