|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDimensionShape
Provides access to members that control a dimension shape.
The IDimensionShape interface supports properties for the definition of a dimension’s location and measurement.
The BeginDimensionPoint and EndDimensionPoint properties define the Dimension’s measurement points. The DimensionLinePoint property determines the height of the dimension line above the baseline. To create a two point dimension, the DimensionLinePoint must be the same value as the BeginDimensionPoint. The ExtensionLineAngle property defines the angle between the dimension line and the extension line in degrees. This default angle is 90 degrees. Oblique dimensions have angles less than or greater than 90 degrees. The DimensionShape also supports a custom text location using the TextPoint property. For the default location of the dimension text, the TextPoint’s IGeometry::IsEmpty property should be True.
The TextAngle property is the angle of the text in radians. The TextAngle property will only affect the dimension if the dimension's style's text alignment property is True in which case the text is always parallel to the dimension line.
Method Summary | |
---|---|
IPoint |
getBeginDimensionPoint()
The begin dimension point. |
IPoint |
getDimensionLinePoint()
The point which describes the height of the dimension line. |
IPoint |
getEndDimensionPoint()
The end dimension point. |
double |
getExtensionLineAngle()
The angle of the extension lines in radians. |
double |
getTextAngle()
The angle of the text in radians. |
IPoint |
getTextPoint()
The point for the text placement. |
void |
setBeginDimensionPointByRef(IPoint point)
The begin dimension point. |
void |
setDimensionLinePointByRef(IPoint point)
The point which describes the height of the dimension line. |
void |
setEndDimensionPointByRef(IPoint point)
The end dimension point. |
void |
setExtensionLineAngle(double angle)
The angle of the extension lines in radians. |
void |
setTextAngle(double angle)
The angle of the text in radians. |
void |
setTextPointByRef(IPoint point)
The point for the text placement. |
Method Detail |
---|
void setBeginDimensionPointByRef(IPoint point) throws IOException, AutomationException
The BeginDimensionPoint and EndDimensionPoint properties define the Dimension’s measurement points.
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPoint getBeginDimensionPoint() throws IOException, AutomationException
The BeginDimensionPoint and EndDimensionPoint properties define the Dimension’s measurement points.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setEndDimensionPointByRef(IPoint point) throws IOException, AutomationException
The BeginDimensionPoint and EndDimensionPoint properties define the Dimension’s measurement points.
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPoint getEndDimensionPoint() throws IOException, AutomationException
The BeginDimensionPoint and EndDimensionPoint properties define the Dimension’s measurement points.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPoint getDimensionLinePoint() throws IOException, AutomationException
The DimensionLinePoint property determines the height of the dimension line above the baseline. To create a two point dimension, the DimensionLinePoint must be the same value as the BeginDimensionPoint.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDimensionLinePointByRef(IPoint point) throws IOException, AutomationException
The DimensionLinePoint property determines the height of the dimension line above the baseline. To create a two point dimension, the DimensionLinePoint must be the same value as the BeginDimensionPoint.
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IPoint getTextPoint() throws IOException, AutomationException
The DimensionShape supports a custom text location using the TextPoint property. For the default location of the dimension text, the TextPoint’s IGeometry::IsEmpty property should be True.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTextPointByRef(IPoint point) throws IOException, AutomationException
The DimensionShape supports a custom text location using the TextPoint property. For the default location of the dimension text, the TextPoint’s IGeometry::IsEmpty property should be True.
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getExtensionLineAngle() throws IOException, AutomationException
The ExtensionLineAngle property defines the angle between the dimension line and the extension line in degrees. This default angle is 90 degrees. Oblique dimensions have angles less than or greater than 90 degrees.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExtensionLineAngle(double angle) throws IOException, AutomationException
The ExtensionLineAngle property defines the angle between the dimension line and the extension line in degrees. This default angle is 90 degrees. Oblique dimensions have angles less than or greater than 90 degrees.
angle
- The angle (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getTextAngle() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setTextAngle(double angle) throws IOException, AutomationException
angle
- The angle (in)
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 |