DimensionText Object
Description
The DimensionText object represents text in a dimension placed on a sheet.
Properties
Application |
Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned. |
BackgroundColor |
Gets and sets the BackgroundColor associated with the DimensionText. |
Color |
Gets and sets the Color Object of the text. |
FormattedText |
Gets and sets the formatted text. |
HorizontalJustification |
Gets and sets the horizontal justification of the text. |
LineSpacing |
Gets and sets the line spacing of the text. |
LineSpacingType |
Gets and sets the line spacing method of the text. |
Origin |
Gets and sets the origin position of the text. |
Parent |
Property that returns the parent of the object. |
RangeBox |
Property that returns a Box2D object which contains the lower-left and upper-right corners of a rectangle that is guaranteed to enclose this object. |
Text |
Property that indicates 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. If this property is used to set the text, all format overrides will be removed and the text will revert to the associated text style. Also, the dimension value will always be placed at the beginning of the text. If you want to control the location of the dimension value, use the FormattedText property. The dimension value can be hidden using the HideValue property. |
Type |
Returns an ObjectTypeEnum indicating this object's type. |
UseBackgroundColor |
Gets and sets the UseBackgroundColor associated with the DimensionText. |
VerticalJustification |
Gets and sets the vertical justification of the text. |
WidthScale |
Gets and sets the width scale factor of the text. |
Accessed From
AngularGeneralDimension.Text,
DiameterGeneralDimension.Text,
DrawingDimension.Text,
GeneralDimension.Text,
HoleThreadNote.Text,
LinearGeneralDimension.Text,
OrdinateDimension.Text,
RadiusGeneralDimension.Text
Samples
Version
Introduced in version 9