ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMMultiLayerSymbol Class / SymbolLayers Property

In This Topic
    SymbolLayers Property (CIMMultiLayerSymbol)
    In This Topic
    Gets or sets the symbol layers. Symbol layers are the components that make up a symbol. A symbol layer is represented by a stroke, fill, marker, or procedural symbol layer.
    public CIMSymbolLayer[] SymbolLayers {get; set;}
    Public Property SymbolLayers As CIMSymbolLayer()
    Modify a point symbol created from a character marker
    //create marker from the Font, char index,size,color
    var cimMarker = SymbolFactory.Instance.ConstructMarker(125, "Wingdings 3", "Regular", 6, ColorFactory.Instance.BlueRGB) as CIMCharacterMarker;
      var polygonMarker = cimMarker.Symbol;
      //modifying the polygon's outline and fill
      //This is the outline
      polygonMarker.SymbolLayers[0] = SymbolFactory.Instance.ConstructStroke(ColorFactory.Instance.GreenRGB, 2, SimpleLineStyle.Solid);
      //This is the fill
      polygonMarker.SymbolLayers[1] = SymbolFactory.Instance.ConstructSolidFill(ColorFactory.Instance.BlueRGB);
      //create a symbol from the marker 
      //Note this overload of ConstructPointSymbol does not need to be run within QueuedTask.Run.
      var pointSymbol = SymbolFactory.Instance.ConstructPointSymbol(cimMarker);

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also