This document is archived and information here might be outdated.  Recommended version.


ITextSymbol.Text Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

ITextSymbol.Text Property

Text to draw.

[Visual Basic .NET]
Public Property Text As String
[C#]
public string Text {get; set;}
[C++]
HRESULT get_Text(
  BSTR* Text
);
[C++]
HRESULT put_Text(
  BSTR Text
);
[C++]

Parameters Text [out, retval] Text is a parameter of type BSTR Text [in] Text is a parameter of type BSTR

Product Availability

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

Description

Text is the text string that will be drawn using the other properties of the ITextSymbol.  This property is only used for low level drawing of a TextSymbol on a display and is not typically used when TextSymbols are used for TextElements.  In the case of TextElements, the element stores the text that is used during drawtime.

See Also

ITextSymbol Interface