ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMSymbolReference Class / SetSymbol Method
The symbol reference to be updated
The symbol XML

In This Topic
    SetSymbol Method
    In This Topic
    Sets a symbol on a symbol reference from an XML encoding of the symbol.
    public static bool SetSymbol( 
       ref CIMSymbolReference symbolRef,
       string symbolXml
    Public Shared Function SetSymbol( _
       ByRef symbolRef As CIMSymbolReference, _
       ByVal symbolXml As String _
    ) As Boolean


    The symbol reference to be updated
    The symbol XML

    Return Value

    A boolean indicating if the symbol was properly decoded to a non-null symbol.

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also