|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDimensionClassExtension
Provides access to members that control the dimension class extension for a dimension feature class.
The IDimensionClassExtension interface provides access to the DimensionStyles collection and the reference scale drawing properties.
After making changes to any of the IDimensionClassExtension properties, it is necessary to call the UpdateProperties() method. Changes can also be discarded by calling the ResetProperties() method if UpdateProperties() has not be called. As with any schema related modifications, an exclusive schema lock should be obtained on the feature class before calling UpdateProperties().
Method Summary | |
---|---|
IDimensionStyles |
getDimensionStyles()
The collection of dimension styles associated with the dimension feature class. |
ITransformation |
getNativeTransformation()
The native display transformation of the dimension feature class. |
double |
getReferenceScale()
The reference scale of the dimension feature class. |
int |
getReferenceScaleUnits()
The reference scale units of the dimension feature class. |
void |
resetProperties()
Resets the in state of the dimension feature class properties. |
void |
setReferenceScale(double scale)
The reference scale of the dimension feature class. |
void |
setReferenceScaleUnits(int units)
The reference scale units of the dimension feature class. |
void |
updateProperties()
Updates the dimension featrue class' properties. |
Method Detail |
---|
IDimensionStyles getDimensionStyles() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void updateProperties() throws IOException, AutomationException
As with any schema related modifications, an exclusive schema lock should be obtained on the feature class before calling UpdateProperties().
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void resetProperties() throws IOException, AutomationException
As with any schema related modifications, an exclusive schema lock should be obtained on the feature class before calling ResetProperties().
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getReferenceScale() throws IOException, AutomationException
The ReferenceScale property defines the scale at which symbols are drawn at their defined size. The ReferenceScaleUnits property is only used when the Dimension FeatureClass’s spatial reference is Unknown. Changing the ReferenceScale after the FeatureClass contains Features is not recommend as those Features’ geometries are controlled by the ReferenceScale property.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReferenceScale(double scale) throws IOException, AutomationException
The ReferenceScale property defines the scale at which symbols are drawn at their defined size. Changing the ReferenceScale after the FeatureClass contains Features is not recommend as those Features’ geometries are controlled by the ReferenceScale property.
scale
- The scale (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getReferenceScaleUnits() throws IOException, AutomationException
The ReferenceScaleUnits property is only used when the Dimension FeatureClass’s spatial reference is Unknown.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setReferenceScaleUnits(int units) throws IOException, AutomationException
The ReferenceScaleUnits property is only used when the Dimension FeatureClass’s spatial reference is Unknown.
units
- A com.esri.arcgis.system.esriUnits constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITransformation getNativeTransformation() throws IOException, AutomationException
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 |