This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDimensionFeature Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that control a dimension feature.
The IDimensionFeature interface provides properties for setting the style and placement of a DimensionFeature.
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 and Classes | Description |
---|---|
DimensionFeature | Esri Dimension Feature class. |
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.