Skip to content

LayerDrawnEventArgs

Namespace: ThinkGeo.Core

This is the event arguments class for the LayerDrawn event on the MapEngine class. It is raised after a layer is drawn.

public class LayerDrawnEventArgs : System.EventArgs

Inheritance ObjectEventArgsLayerDrawnEventArgs

Remarks:

This is the event arguments class for the LayerDrawn event on the MapEngine class. It is raised after the layer is drawn. This event allows you to manipulate the Layer, or draw something with the view after the Layer draws.

Properties

CurrentLayer

This property gets and sets layer that has drawn.

public Layer CurrentLayer { get; set; }

Property Value

Layer
This property gets current layer that has drawn.

Remarks:

None

WorldExtent

This property gets and sets the world extent to draw.

public RectangleShape WorldExtent { get; set; }

Property Value

RectangleShape
This property gets the world extent to draw.

Remarks:

None

NativeImage

This property gets and sets the NativeImage or native image that we are drawing on.

public object NativeImage { get; set; }

Property Value

Object
This property gets the NativeImage or native image that we are drawing on.

Remarks:

None

Constructors

LayerDrawnEventArgs()

This is a constructor for the class.

public LayerDrawnEventArgs()

Remarks:

This is the default constructor. If you use this constructor, then you need to set the required properties manually.

LayerDrawnEventArgs(Layer, RectangleShape, Object)

This is a constructor for the class.

public LayerDrawnEventArgs(Layer currentLayer, RectangleShape worldExtent, object nativeImage)

Parameters

currentLayer Layer
This parameter is the layer that has drawn.

worldExtent RectangleShape
This parameter is the world extent that has drawn.

nativeImage Object
This parameter is the NativeImage or native map image.

Remarks:

None