Draws text on the map using the specified text symbol.
object.DrawText ( Text, pShape, pTextSymbol ) |
- Text
- Required. A String that contains the text to draw.
- pShape
- Required. A variable declared as a Geometric object.
- pTextSymbol
- Required. A variable declared as a TextSymbol object.
The DrawText method draws the text to the current map view. The text is positioned based on the specified shape and rendered based on the specified text symbol. If the map is refreshed or the extent changes, the text disappears.