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


ITextElement.Text Property (ArcObjects .NET 10.8 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
[C#]
public string Text {get; set;}
[C++]
HRESULT get_Text(
  System.String* 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 Creating a toolbar of globe tools