LayersDrawnEventArgs¶
Namespace: ThinkGeo.Core
This is the event arguments class for the LayersDrawn event on the MapEngine class. It is raised after all of the layers are drawn.
public class LayersDrawnEventArgs : System.EventArgs
Inheritance Object → EventArgs → LayersDrawnEventArgs
Remarks:
This is the event arguments class for the LayersDrawn event on the MapEngine class. It is raised after the layers are drawn. This event allows you to draw something with the view after all of the Layers are drawn.
Properties¶
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 we are drawing on.
public object NativeImage { get; set; }
Property Value¶
Object
This property gets the NativeImage or native image we are drawing on.
Remarks:
None
Layers¶
This property gets and sets the layers that have been drawn.
public IEnumerable<Layer> Layers { get; set; }
Property Value¶
IEnumerable<Layer>
This property gets the layers that have been drawn.
Remarks:
None
Constructors¶
LayersDrawnEventArgs()¶
This is a constructor for the class.
public LayersDrawnEventArgs()
Remarks:
This is the default constructor. If you use this constructor, then you need to set the required properties manually.
LayersDrawnEventArgs(IEnumerable<Layer>, RectangleShape, Object)¶
This is a constructor for the class.
public LayersDrawnEventArgs(IEnumerable<Layer> layers, RectangleShape worldExtent, object nativeImage)
Parameters¶
layers
IEnumerable<Layer>
This parameter is the layers that were drawn.
worldExtent
RectangleShape
This parameter is the world extent you are drawing.
nativeImage
Object
This parameter is the NativeImage or native map image.
Remarks:
None