|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDimensionEditExtension
Provides access to members that control dimension feature editing.
Method Summary | |
---|---|
int |
getCreateStyleID()
The style id of newly created dimension features. |
IEnumDimensionConstructor |
getDimensionConstructors()
The dimension constructors for creating new dimensions. |
IEditor |
getEditor()
The editor application extension. |
boolean |
isDimensionTarget()
Indicates if a dimension feature class is the current editor target. |
void |
setCreateStyleID(int styleID)
The style id of newly created dimension features. |
void |
setCurrentConstructorByRef(IDimensionConstructor rhs1)
The currently selected dimension constructor. |
Method Detail |
---|
int getCreateStyleID() throws IOException, AutomationException
Each Dimension Style has a unique ID value within a dimension feature class. A dimension style is used each time a new dimension feature is created. The style used for the creation of the feature is determined using CreateStyleID property.
When an invalid CreateStyleID value is set, CreateStyleID returns -1.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCreateStyleID(int styleID) throws IOException, AutomationException
styleID
- The styleID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEnumDimensionConstructor getDimensionConstructors() throws IOException, AutomationException
Returns the current dimension constructors under the component category 'ESRI Dimension Constructors', returning them in an IEnumDimensionConstructor.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setCurrentConstructorByRef(IDimensionConstructor rhs1) throws IOException, AutomationException
Sets the DimensionConstructor used to create new dimension features. A reference to an DimensionConstructor is often acquired by obtaining a reference to IEnumDimensionConstructor and looping through until the desired constructor is returned.
rhs1
- A reference to a com.esri.arcgis.editor.IDimensionConstructor (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isDimensionTarget() throws IOException, AutomationException
Determines if the editor's target layer is a dimension feature class.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IEditor getEditor() throws IOException, AutomationException
Use the Editor to provide quick access the ArcMap Editor. This is particularly useful to QI to Editor::IEditLayers to get the IEditLayers::CurrentLayer. Once you have the CurrentLayer you can access its DimensionClassExtension to retrieve IDimensionClassExtension::ReferenceScaleUnits and IDimensionClassExtension::ReferenceScale. These properties are helpful when building a custom dimension constructor.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |