ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ISymbolFactory Interface / ConstructTextSymbol Method / ConstructTextSymbol(CIMColor,Double) Method
ArcGIS.Core.CIM.CIMColor
The size of the text symbol to construct.
Version

    ConstructTextSymbol(CIMColor,Double) Method
    Constructs a default text symbol given its color and size. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    CIMTextSymbol ConstructTextSymbol( 
       CIMColor color,
       double size
    )

    Parameters

    color
    ArcGIS.Core.CIM.CIMColor
    size
    The size of the text symbol to construct.

    Return Value

    Exceptions
    ExceptionDescription
    This method must be called within the lambda passed to QueuedTask.Run
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also