com.esri.arcgis.carto
Interface IDimensionGraphic

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DimensionGraphic, IDimensionGraphicProxy

public interface IDimensionGraphic
extends java.io.Serializable

COM Interface 'IDimensionGraphic'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control a dimension graphic.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID7126d088_fb61_11d3_80d3_00c04f601565
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void draw(int hDC, ITransformation transformation)
          Draws the dimension style.
 double getCustomLength()
          The custom length of the dimension graphic.
 IPoint getDefaultTextPoint()
          The default location of the dimension text placement.
 IDimensionShape getDimensionShape()
          The begin dimension point.
 double getLength()
          The length of the dimension graphic.
 void getMask(int hDC, ITransformation transformation, IGeometry mask)
          The dimension graphic mask.
 ITransformation getNativeTransformation()
          The native transformation for the dimension graphic.
 int getNativeUnits()
          The native units of the dimension graphic.
 IDimensionStyle getStyle()
          The dimension style.
 boolean isUseCustomLength()
          Indicates if a custom length is displayed for the dimsnion graphic.
 void queryBoundary(int hDC, ITransformation transformation, IPolygon boundary)
          The boundary of the dimension style.
 void setCustomLength(double length)
          The custom length of the dimension graphic.
 void setDimensionShapeByRef(IDimensionShape shape)
          The begin dimension point.
 void setNativeTransformationByRef(ITransformation transformation)
          The native transformation for the dimension graphic.
 void setNativeUnits(int units)
          The native units of the dimension graphic.
 void setStyleByRef(IDimensionStyle style)
          The dimension style.
 void setUseCustomLength(boolean length)
          Indicates if a custom length is displayed for the dimsnion graphic.
 void updateShape(int hDC, ITransformation transformation, IFeature pFeature)
          Updates the dimension geometries for the dimension graphic.
 

Field Detail

IID7126d088_fb61_11d3_80d3_00c04f601565

static final int IID7126d088_fb61_11d3_80d3_00c04f601565
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

setDimensionShapeByRef

void setDimensionShapeByRef(IDimensionShape shape)
                            throws java.io.IOException,
                                   AutomationException
The begin dimension point.

Parameters:
shape - A reference to a com.esri.arcgis.carto.IDimensionShape (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionShape

IDimensionShape getDimensionShape()
                                  throws java.io.IOException,
                                         AutomationException
The begin dimension point.

Returns:
A reference to a com.esri.arcgis.carto.IDimensionShape
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStyle

IDimensionStyle getStyle()
                         throws java.io.IOException,
                                AutomationException
The dimension style.

Returns:
A reference to a com.esri.arcgis.carto.IDimensionStyle
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStyleByRef

void setStyleByRef(IDimensionStyle style)
                   throws java.io.IOException,
                          AutomationException
The dimension style.

Parameters:
style - A reference to a com.esri.arcgis.carto.IDimensionStyle (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

draw

void draw(int hDC,
          ITransformation transformation)
          throws java.io.IOException,
                 AutomationException
Draws the dimension style.

Parameters:
hDC - The hDC (A COM typedef) (in)
transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryBoundary

void queryBoundary(int hDC,
                   ITransformation transformation,
                   IPolygon boundary)
                   throws java.io.IOException,
                          AutomationException
The boundary of the dimension style.

Parameters:
hDC - The hDC (A COM typedef) (in)
transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
boundary - A reference to a com.esri.arcgis.geometry.IPolygon (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getLength

double getLength()
                 throws java.io.IOException,
                        AutomationException
The length of the dimension graphic.

Returns:
The length
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCustomLength

double getCustomLength()
                       throws java.io.IOException,
                              AutomationException
The custom length of the dimension graphic.

Returns:
The length
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCustomLength

void setCustomLength(double length)
                     throws java.io.IOException,
                            AutomationException
The custom length of the dimension graphic.

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

isUseCustomLength

boolean isUseCustomLength()
                          throws java.io.IOException,
                                 AutomationException
Indicates if a custom length is displayed for the dimsnion graphic.

Returns:
The length
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseCustomLength

void setUseCustomLength(boolean length)
                        throws java.io.IOException,
                               AutomationException
Indicates if a custom length is displayed for the dimsnion graphic.

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

getMask

void getMask(int hDC,
             ITransformation transformation,
             IGeometry mask)
             throws java.io.IOException,
                    AutomationException
The dimension graphic mask.

Parameters:
hDC - The hDC (A COM typedef) (in)
transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
mask - A reference to a com.esri.arcgis.geometry.IGeometry (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateShape

void updateShape(int hDC,
                 ITransformation transformation,
                 IFeature pFeature)
                 throws java.io.IOException,
                        AutomationException
Updates the dimension geometries for the dimension graphic.

Parameters:
hDC - The hDC (A COM typedef) (in)
transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
pFeature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNativeUnits

int getNativeUnits()
                   throws java.io.IOException,
                          AutomationException
The native units of the dimension graphic.

Returns:
A com.esri.arcgis.system.esriUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNativeUnits

void setNativeUnits(int units)
                    throws java.io.IOException,
                           AutomationException
The native units of the dimension graphic.

Parameters:
units - A com.esri.arcgis.system.esriUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultTextPoint

IPoint getDefaultTextPoint()
                           throws java.io.IOException,
                                  AutomationException
The default location of the dimension text placement.

Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNativeTransformation

ITransformation getNativeTransformation()
                                        throws java.io.IOException,
                                               AutomationException
The native transformation for the dimension graphic.

Returns:
A reference to a com.esri.arcgis.geometry.ITransformation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNativeTransformationByRef

void setNativeTransformationByRef(ITransformation transformation)
                                  throws java.io.IOException,
                                         AutomationException
The native transformation for the dimension graphic.

Parameters:
transformation - A reference to a com.esri.arcgis.geometry.ITransformation (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.