This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IT > ITextPath Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control the text path.
This interface provides access to the properties and methods of the various text path types used for drawing a TextElement with a TextSymbol.
Description | ||
---|---|---|
Geometry | The geometry used for the path. | |
Next | Returns the next coordinate. | |
Reset | Resets the coordinate enumerator. | |
Setup | Set up items needed by text path. | |
XOffset | The X offset value. | |
YOffset | The Y offset value. |
CoClasses and Classes | Description |
---|---|
BezierTextPath | Helper object used to align a text string to a curve. |
OverposterTextPath | Overposter Text Path object. |
SimpleTextPath | Helper object used to align a text string to a geometry. |
WordTextPath | Word Text Path object. |
Commonly accessed properties include the XOffset and YOffset as well as the Geometry. While IElement.Geometry may provide a shortcut to the geometry of a TextElement, it is recommended that you determine the type of text path you have prior to changing the Geometry. For instance, the raw geometry of an OverposterTextPath should never be edited. The Geometry of this path type should be obtained, smoothed, and then included in a new SimpleTextPath for that TextSymbol/TextElement.