com.esri.arcgis.editor
Interface IDimensionStyleDialog

All Superinterfaces:
Serializable
All Known Implementing Classes:
DimensionStyleDialog

public interface IDimensionStyleDialog
extends Serializable

Provides access to members that control the dimension styles dialog.

Remarks

Use IDimensionStyleDialog when you want to create a dimension style in an existing dimension feature class. If you want to display existing dimension style properties without allowing changes set the ReadOnly property to TRUE.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 IDimensionStyle doModal(IFeatureClass featureClass, IDimensionStyle copyStyle, int hWndParent)
          Displays the dialog used to define a new dimension style.
 void setReadOnly(boolean rhs1)
          Indicates if the dimension style dialog shouild be opened in read-only mode.
 

Method Detail

doModal

IDimensionStyle doModal(IFeatureClass featureClass,
                        IDimensionStyle copyStyle,
                        int hWndParent)
                        throws IOException,
                               AutomationException
Displays the dialog used to define a new dimension style.

Remarks

The copyStyle argument is not required to use the DoModal method. If no copyStyle is specified, the dialog will be populated with the system dimension style properties instead of using the dimension style as the template style.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
featureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
copyStyle - A reference to a com.esri.arcgis.carto.IDimensionStyle (in)
hWndParent - The hWndParent (A COM typedef) (in)
Returns:
A reference to a com.esri.arcgis.carto.IDimensionStyle
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setReadOnly

void setReadOnly(boolean rhs1)
                 throws IOException,
                        AutomationException
Indicates if the dimension style dialog shouild be opened in read-only mode.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
rhs1 - The rhs1 (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.