Show in Contents

Add to Favorites

Home: AutoCAD .NET Developer's Guide
Create Ordinate Dimensions

Dimensions and Tolerances

Override Dimension Text
As with other graphical
objects in AutoCAD, you can edit dimensions using the methods
and properties provided for the object.
The
following properties are available for most dimension objects:
- DimensionStyle
-
Specifies the object id of the dimension style.
- DimensionStyleName
-
Specifies
the name of the dimension style.
- DimensionText
-
Specifies the user-defined
text string for the dimension.
- HorizontalRotation
-
Specifies
the rotation angle in radians for the dimension.
- Measurement
-
Specifies the actual measurement for the dimension.
- TextPosition
-
Specifies the dimension text position.
- TextRotation
-
Specifies the rotation angle of the dimension text.
For more information
about editing dimensions, see “Modify Existing Dimensions” in
the AutoCAD User's Guide.
In addition, to modifying
a dimension object using its specific properties and methods you
can also copy and transform dimension objects. For information on
copying and transforming objects, see Edit Named and 2D Objects.