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

ITextElement.Text Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IT > ITextElement Interface > ITextElement.Text Property
ArcGIS Developer Help

ITextElement.Text Property

Text being displayed by this element.

[Visual Basic .NET]
Public Property Text As String
public string Text {get; set;}
HRESULT get_Text(
  System.String* Text
HRESULT put_Text(
  BSTR Text
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.


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 Creating a toolbar of globe tools