Provides access to members that control a dimension feature.
Product Availability
Description
The IDimensionFeature interface provides properties for setting the style and placement of a DimensionFeature.
Members
Description | ||
---|---|---|
CustomLength | The dimension feature's custom or user-defined length. | |
DimensionLineDisplay | The dimension line display for the feature. | |
DimensionShape | The dimension feature's shape. | |
DimensionType | The dimension type of the feature. | |
ExtensionLineDisplay | The extension line display of the feature. | |
Length | The dimension feature's length. | |
MarkerDisplay | The arrow display of the feature. | |
StyleID | The dimension feature's style Id. | |
UseCustomLength | Indicates if this dimension feature displays the dimension length or a custom length. |
CoClasses that implement IDimensionFeature
CoClasses and Classes | Description |
---|---|
DimensionFeature | Esri Dimension Feature class. |
Remarks
The StyleID property should be a valid ID from the class’s DimensionStyles collection. If the current ID is invalid, the DimensionFeature will draw its boundary in red. The DimensionShape property defines the placement of the elements of a DimensionFeature. The location and size of the DimensionFeature is determined entirely by the DimensionShape and it is not necessary to use the IFeature::Shape property. The DimensionType property defines the type of the Dimension as Linear or Aligned and affects how the EditTool behaves with the DimensionFeature during shape modification. The DimensionLineDisplay, ExtensionLineDisplay, and MarkerDisplay properties are values that override the values of the current DimensionStyle. A custom value for the DimensionFeature’s text can be set using the CustomLength property and by setting the UseCustomLength property to True.