This document is archived and information here might be outdated.  Recommended version.


IDimensionFeature Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IDimensionFeature Interface

Provides access to members that control a dimension feature.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The IDimensionFeature interface provides properties for setting the style and placement of a DimensionFeature.

Members

Description
Read/write property CustomLength The dimension feature's custom or user-defined length.
Read/write property DimensionLineDisplay The dimension line display for the feature.
Read/write property DimensionShape The dimension feature's shape.
Read/write property DimensionType The dimension type of the feature.
Read/write property ExtensionLineDisplay The extension line display of the feature.
Read-only property Length The dimension feature's length.
Read/write property MarkerDisplay The arrow display of the feature.
Read/write property StyleID The dimension feature's style Id.
Read/write property 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.

See Also

IDimensionShape Interface | IDimensionStyle Interface