Skip to content

DrawingOverlayEventArgs

Namespace: ThinkGeo.UI.WebApi

Provides data for Overlay.Drawing event.

public class DrawingOverlayEventArgs : System.EventArgs

Inheritance ObjectEventArgsDrawingOverlayEventArgs

Properties

Cancel

This property gets and sets a value that determines whether you want to cancel the Overlay from drawing.

public bool Cancel { get; set; }

Property Value

Boolean
This property gets a value that determines whether you want to cancel the Overlay from drawing.

Remarks:

None

GeoCanvas

This property gets and sets the GeoCanvas we are drawing on.

public GeoCanvas GeoCanvas { get; set; }

Property Value

GeoCanvas
This property gets the GeoCanvas we are drawing on.

Remarks:

None

Constructors

DrawingOverlayEventArgs()

Initializes a new instance of the DrawingOverlayEventArgs class.

public DrawingOverlayEventArgs()

DrawingOverlayEventArgs(GeoCanvas)

This is a constructor for the class.

public DrawingOverlayEventArgs(GeoCanvas geoCanvas)

Parameters

geoCanvas GeoCanvas
This parameter is the GeoCanvas we are drawing on.

Remarks:

None

DrawingOverlayEventArgs(GeoCanvas, Boolean)

Initializes a new instance of the DrawingOverlayEventArgs class.

public DrawingOverlayEventArgs(GeoCanvas geoCanvas, bool cancel)

Parameters

geoCanvas GeoCanvas
The GeoCanvas.

cancel Boolean
if set to true [cancel].