Table of Contents

Method GripDrag

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

GripDrag(string, int, GeoPoint2)

Drags a grip of an entity to a point, one undo step, as Drag(CadDocument, string, int, GeoPoint2) says.

public CadEditResult GripDrag(string handle, int gripIndex, GeoPoint2 newPoint)

Parameters

handle string

The handle of the entity.

gripIndex int

The index of the grip, as Of(DxfEntity) gives it.

newPoint GeoPoint2

The point it is dragged to, in drawing units.

Returns

CadEditResult

What came of it.