|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGraphicSnapEnvironment2
Provides access to members that control the Collection of snap agents used for snapping graphics.
Method Summary | |
---|---|
void |
addSnapAgent(IGraphicSnap snapAgent)
Add a new snap agent to the environment. |
void |
clearSnapAgents()
Remove all snap agents. |
void |
deleteSnapAgent(IGraphicSnap snapAgent)
Remove specified snap agent from the environment. |
IGraphicSnap |
getSnapAgent(int index)
The snap agent at the specified index. |
int |
getSnapAgentCount()
The number of snap agents. |
IArray |
getSnapAgentOrder()
An array of IDs indicating how agents should be ordered. |
double |
getSnapTolerance()
The snap tolerance in page units. |
void |
setSnapAgentOrder(IArray guids)
An array of IDs indicating how agents should be ordered. |
void |
setSnapTolerance(double tol)
The snap tolerance in page units. |
void |
snapShape(IGeometry shape)
Snap the shape using the agents in the environment. |
void |
snapShapeEx(IElement pElement,
IGeometry shape)
Snap the shape using the agents in the environment. |
Method Detail |
---|
void snapShape(IGeometry shape) throws IOException, AutomationException
shape
- A reference to a com.esri.arcgis.geometry.IGeometry (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double getSnapTolerance() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSnapTolerance(double tol) throws IOException, AutomationException
tol
- The tol (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSnapAgentOrder(IArray guids) throws IOException, AutomationException
guids
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IArray getSnapAgentOrder() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getSnapAgentCount() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IGraphicSnap getSnapAgent(int index) throws IOException, AutomationException
index
- The index (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void clearSnapAgents() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addSnapAgent(IGraphicSnap snapAgent) throws IOException, AutomationException
snapAgent
- A reference to a com.esri.arcgis.carto.IGraphicSnap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void deleteSnapAgent(IGraphicSnap snapAgent) throws IOException, AutomationException
snapAgent
- A reference to a com.esri.arcgis.carto.IGraphicSnap (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void snapShapeEx(IElement pElement, IGeometry shape) throws IOException, AutomationException
pElement
- A reference to a com.esri.arcgis.carto.IElement (in)shape
- A reference to a com.esri.arcgis.geometry.IGeometry (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 |