ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Core Namespace / VertexSymbolOptions Class / GetPointSymbol Method
Example

In This Topic
    GetPointSymbol Method
    In This Topic
    Gets the point symbol from the set of options. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public CIMPointSymbol GetPointSymbol()
    Public Function GetPointSymbol() As CIMPointSymbol

    Return Value

    CIMPointSymbol
    Example
    Get Sketch Vertex Symbology Options
    var options = ApplicationOptions.EditingOptions;
    
    //Must use QueuedTask
    QueuedTask.Run(() =>
    {
      //There are 4 vertex symbol settings - selected, unselected and the
      //current vertex selected and unselected.
      var reg_select = options.GetVertexSymbolOptions(VertexSymbolType.RegularSelected);
      var reg_unsel = options.GetVertexSymbolOptions(VertexSymbolType.RegularUnselected);
      var curr_sel = options.GetVertexSymbolOptions(VertexSymbolType.CurrentSelected);
      var curr_unsel = options.GetVertexSymbolOptions(VertexSymbolType.CurrentUnselected);
    
      //to convert the options to a symbol use
      //GetPointSymbol
      var reg_sel_pt_symbol = reg_select.GetPointSymbol();
      //ditto for reg_unsel, curr_sel, curr_unsel
    });
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also