Table of Contents

Class LayerDrawnEventArgs

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

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 : EventArgs
Inheritance
LayerDrawnEventArgs
Inherited Members

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.

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

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

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

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