Starts editing of a shape. The coordinate system of the shape must be the same as the coordinate system of the Map.


Namespace: ActualMap.Windows
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Sub EditShape( _ 
   ByVal shape As Object _ 
)
C#
public void EditShape(
   object shape
)
C++
public:
 void EditShape(
   Object shape
) sealed 
J#
public void EditShape(
   object shape
)
JScript
public  function EditShape(
   shape : Object
)

Parameters

shape
An object expression that can be one of Point, Rectangle, Points, Polyline, Polygon or Shape object. Null shapes are not supported.

Remarks

This method sends the shape to the client-side user interface for editing. The MapTool property will be automatically set to MapTool.EditShape.

The edited shape can be obtained by calling the a GetEditedShape method.

The ZoomIn, ZoomOut, Pan, Info, Center, DrawShape, and EditShape tools can be used when a shape is selected for editing by the EditShape method.

To cancel editing, call the CancelEdit method.

See Also