ArcGIS Pro 2.7 API Reference Guide
ConstructTextSymbol(CIMColor,Double) Method

ArcGIS.Desktop.Mapping Namespace > SymbolFactory Class > ConstructTextSymbol Method : ConstructTextSymbol(CIMColor,Double) Method
ArcGIS.Core.CIM.CIMColor
The size of the text symbol to construct.
Constructs a default text symbol given its color and size. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public CIMTextSymbol ConstructTextSymbol( 
   CIMColor color,
   double size
)
Public Overloads Function ConstructTextSymbol( _
   ByVal color As CIMColor, _
   ByVal size As Double _
) As CIMTextSymbol

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 10, Windows 8.1

See Also

Reference

SymbolFactory Class
SymbolFactory Members
Overload List