com.esri.arcgis.carto
Interface IElementEditVertices

All Superinterfaces:
Serializable
All Known Implementing Classes:
LineElement, ParagraphTextElement, PMFTitleTextElement, PolygonElement, TextElement

public interface IElementEditVertices
extends Serializable

Provides access to members that control the Element edit vertices object.

When To Use

IElementEditVertices allows the user access to the selection tracker being used to edit the vertices of a TextElement or LineElement graphic.

Use this interface when you want to control how a user manipulates the element with the ISelectionTracker.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 ISelectionTracker getMoveVerticesSelectionTracker()
          Selection tracker to move points used by this element.
 boolean isMovingVertices()
          Indicates if this element is moving its vertices.
 void setMovingVertices(boolean flag)
          Indicates if this element is moving its vertices.
 

Method Detail

getMoveVerticesSelectionTracker

ISelectionTracker getMoveVerticesSelectionTracker()
                                                  throws IOException,
                                                         AutomationException
Selection tracker to move points used by this element.

Remarks

GetMoveVerticesSelection returns the ISelectionTracker being used to edit the vertices of the graphic element. This method is unaffected by the MovingVertices flag. The selection tracker returned will always be the appropriate one to use for moving the vertex points of this object. The MovingVertices property is independent and just tells get_SelectionTracker to either hand out the normal selection tracker or forward the call on to GetMoveVerticesSelectionTracker.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

isMovingVertices

boolean isMovingVertices()
                         throws IOException,
                                AutomationException
Indicates if this element is moving its vertices.

Remarks

This flag controls what type of selection tracker is used when one is requested from this object. If True , it will be a vertex point type. If False , it will be an object envelope type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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

setMovingVertices

void setMovingVertices(boolean flag)
                       throws IOException,
                              AutomationException
Indicates if this element is moving its vertices.

Remarks

This flag controls what type of selection tracker is used when one is requested from this object. If True , it will be a vertex point type. If False , it will be an object envelope type.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

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