Adds a text alteration to the property alteration definition.
AddTextDef( _
TextValue As String, _
Height As String, _
InsertPoint As String, _
Justification As String, _
TextStyle As String, _
Layer As String, _
Color As String, _
Rotation As String _
) As TextDef
Returns a text definition.
TextValue
Height
InsertPoint
Justification
Text Style
Layer
Color
Rotation
This example builds on sample code for altering queried objects. For more information, click . The following code adds a text entity in Arial font that is larger than the text created by the original sample code. Comment out the call to Alterlines.Add in the sample and add the call to Alterlines.AddTextDef as shown here:
'Set txtdf = altls.Add( _
' kAlterationTextEntity, _
' ":NAME@WATER_BODIES")
Set txtdf = altls.AddTextDef(":NAME@WATER_BODIES", "200", _
".LABELPT", "CENTER", "Arial", "Water", "Bylayer", "0")