ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SymbolExtensionMethods Class / MakeSymbolReference Method
ArcGIS.Core.CIM.CIMSymbol
Example

In This Topic
    MakeSymbolReference Method
    In This Topic
    Makes symbol reference for a symbol.
    Syntax
    public static CIMSymbolReference MakeSymbolReference( 
       CIMSymbol symbol
    )
    Public Shared Function MakeSymbolReference( _
       ByVal symbol As CIMSymbol _
    ) As CIMSymbolReference

    Parameters

    symbol
    ArcGIS.Core.CIM.CIMSymbol

    Return Value

    Example
    How to get symbol reference from a symbol
    CIMPolygonSymbol symbol = SymbolFactory.Instance.ConstructPolygonSymbol(ColorFactory.Instance.RedRGB);
    
    //Get symbol reference from the symbol
    CIMSymbolReference symbolReference = symbol.MakeSymbolReference();
    
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also