ModelAnnotationText Object
Description
The ModelAnnotationText object represents text in a model annotation or dimension.
Properties
Application |
Gets the root Application object. Where the property is weakly-typed, it can be set to (QueryInterfaced for) 'Application' when running with Inventor whereas, 'ApprenticeServer' when running with the Apprentice Server. |
Color |
Property that gets and sets the color of the annotation text. |
Font |
Property that gets and sets the default font. |
FormattedText |
Property that gets and sets the fully formatted string that defines the contents of the dimension text. |
HorizontalJustification |
Property that gets and sets the horizontal justification override of the annotation text. |
LineSpacing |
Property that gets and sets the line spacing of the dimension text. |
LineSpacingType |
Property that gets and sets the method used to define the line spacing. |
Parent |
Read-only property that returns the parent of the object. |
Position |
Property that gets and sets the position of the origin of the dimension text. |
Size |
Property that gets and sets the default size of the text in centimeters. |
StackedTextPosition |
Property that gets and sets the position (alignment) of the stacked text with respect to regular text. |
Text |
Read-only property that gets the string that defines the dimension text. When getting this property, the returned string has all formatting removed and contains the actual text characters displayed in the text. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
VerticalJustification |
Property that gets and sets the vertical justification of the ModelAnnotationText. |
WidthScale |
Property that gets and sets the width scale factor for the dimension text. |
Accessed From
AngularModelDimensionDefinition.Text,
DiameterModelDimensionDefinition.Text,
LinearModelDimensionDefinition.Text,
ModelDimensionDefinition.Text,
ModelGeneralNoteDefinition.Text,
ModelHoleThreadNoteDefinition.Text,
ModelLeaderNoteDefinition.Text,
RadiusModelDimensionDefinition.Text
Version
Introduced in version 2018