ITextElement.Symbol Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

ITextElement.Symbol Property

Text symbol this element uses to draw itself.

[Visual Basic .NET]
Public Property Symbol As ITextSymbol
[C#]
public ITextSymbol Symbol {get; set;}
[C++]
HRESULT get_Symbol(
  ITextSymbol** Symbol
);
[C++]
HRESULT put_Symbol(
  ITextSymbol* Symbol
);
[C++]

Parameters Symbol [out, retval]
Symbol is a parameter of type ITextSymbol** Symbol [in]
Symbol is a parameter of type ITextSymbol*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The Symbol property returns or sets the ITextSymbol associated with the TextElement.  The Symbol property represents the symbology being used to display the text on the map.

The size characteristic of the Symbol property is also affected by the ScaleText property.  If this property is set to True, the size will scale along with the current scale of the map.  If the ScaleText property is False, then the size will remain constant.

See Also

ITextElement Interface

.NET Samples

Creating a toolbar of globe tools (Code Files: TextElement)

.NET Related Topics

Building a map viewing application using the ArcGIS Engine controls