|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGraphicElement
Provides access to members that control the Graphic Element object.
IGraphicElement is the generic interface implemented by all graphic elements such as rectangles, circles, and text. This interface is used to obtain the spatial reference associated with these objects.
Method Summary | |
---|---|
ISpatialReference |
getSpatialReference()
Spatial reference of the map. |
void |
setSpatialReferenceByRef(ISpatialReference spatialRef)
Spatial reference of the map. |
Method Detail |
---|
ISpatialReference getSpatialReference() throws IOException, AutomationException
SpatialReference is used to set (by reference) and retrieve the spatial reference of the graphic element.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSpatialReferenceByRef(ISpatialReference spatialRef) throws IOException, AutomationException
spatialRef
- A reference to a com.esri.arcgis.geometry.ISpatialReference (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 |