Represents the properties of a drawing text in a drawing view.
This interface is obtained from CATIADrawingText or CATIADrawingWelding interface.
Update method must be called after text properties modification to refresh the visualization.
Properties
Property AnchorPoint() As
Returns or sets the anchor point of the drawing text.
Example:
This example sets the AnchorPoint of the MyText drawing text to
the right
MyText.AnchorPoint = catRight
Property Blanking() As
Returns or sets the blanking mode of the drawing text.
Example:
This example sets the blanking mode type of MyText drawing text to active on geom
MyText.Blanking = catBlankingOnGeom
Property Bold() As
Returns or sets the drawing text font bold property.
True if the drawing text is bold formatted.
Example:
This example get the parameter bold on MyText drawing text.
oVal = MyText.Bold
Property Color() As
Returns or sets the color of the drawing text.
Example:
This example sets the Color type of the MyText drawing text to red
redCol =-16776961 'Encoded RGBA color within long integer (R=255 G=0 B=0 A=255)
MyText.Color = redCol
Property FontName() As
Returns or sets the font name of the drawing text.
Example:
This example sets the MyText drawing text font as Courrier 10 BT.
MyText.SetFontName("Courrier 10 BT")
Property FontSize() As
Returns or sets the font size of the drawing text.
Example:
This example sets the MyText drawing text font size to 3.5.