This method sets the polyline or polygon object currently being drawn by mouse or by touch.

[Visual Basic] Public Function SetPolylinePolygon() As Boolean
[C#] public bool SetPolylinePolygon();

Parameters

None

Return Value

Returns True if successful, otherwise returns False

Explanation

The SetPolylinePolygon method sets the polyline or polygon object currently being drawn by mouse or by touch.

When drawing a polyline or polygon object with mouse or with touch, the object can be set by executing this method in addition to setting the object by double clicking the mouse.

For example, when drawing a polyline or polygon object on a tablet, this method can be used to set the object with a button click as opposed to double-clicking the mouse. By executing this method, instead of having to rely on the position of the mouse cursor to set the object's position, you can use the previous coordinate position of the polyline or polygon object..

See also

ImageKit.Edit Members | Newtone.ImageKit.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation