ArcObjects Library Reference (Carto)  

ITextElement.Text Property

Text being displayed by this element.

[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.

Remarks

The Text property returns or sets the text string used displayed on the map.  Use this property to manipulate the string associated with the TextElement.

 

See Also

ITextElement Interface

.NET Samples

Controls commands environment (Code Files: CommandsEnvironment) | Creating a toolbar of globe tools (Code Files: TextElement) |

.NET Related Topics

Building a map viewing application using the ArcGIS Engine controls | Working with PageLayout elements |