ArcGIS Pro 2.6 API Reference Guide
ConstructTextSymbol(CIMPolygonSymbol,Double,String,String) Method

ArcGIS.Desktop.Mapping Namespace > SymbolFactory Class > ConstructTextSymbol Method : ConstructTextSymbol(CIMPolygonSymbol,Double,String,String) Method
ArcGIS.Core.CIM.CIMPolygonSymbol
The size of the text symbol to construct.
The font family name of the text symbol to construct.
The font style name of the text symbol to construct.
Constructs a default text symbol given its polygon symbol, size, font family name and style. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Public Overloads Function ConstructTextSymbol( _
   ByVal symbol As CIMPolygonSymbol, _
   ByVal size As Double, _
   ByVal fontFamilyName As String, _
   ByVal fontStyleName As String _
) As CIMTextSymbol

Parameters

symbol
ArcGIS.Core.CIM.CIMPolygonSymbol
size
The size of the text symbol to construct.
fontFamilyName
The font family name of the text symbol to construct.
fontStyleName
The font style name 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, Windows 7

See Also

Reference

SymbolFactory Class
SymbolFactory Members
Overload List