Class LayersDrawingEventArgs
This is the event arguments class for the LayersDrawing event on the MapEngine class. It is raised before any of the layers are drawn.
public class LayersDrawingEventArgs : EventArgs
- Inheritance
-
LayersDrawingEventArgs
- Inherited Members
Remarks
This is the event arguments class for the LayersDrawing event on the MapEngine class. It is raised before any of the layers are drawn. This event allows you to cancel, manipulate the Layer, or draw something with the view before the Layer draws.
Constructors
LayersDrawingEventArgs()
This is a constructor for the class.
public LayersDrawingEventArgs()
Remarks
This is the default constructor. If you use this constructor, then you need to set the required properties manually.
LayersDrawingEventArgs(IEnumerable<Layer>, RectangleShape, object)
This is a constructor for the class.
public LayersDrawingEventArgs(IEnumerable<Layer> layers, RectangleShape worldExtent, object nativeImage)
Parameters
layers
IEnumerable<Layer>This parameter is the layers that will be drawn.
worldExtent
RectangleShapeThis parameter is the world extent you are drawing.
nativeImage
objectThis parameter is the NativeImage or native map image.
Remarks
None
Properties
Cancel
This property gets and sets the value that indicates you want to cancel all of the layers from drawing.
public bool Cancel { get; set; }
Property Value
- bool
This property gets the value that indicates you want to cancel all of the layers from drawing.
Remarks
None
Layers
This property gets and sets the layers you will be drawing.
public IEnumerable<Layer> Layers { get; set; }
Property Value
- IEnumerable<Layer>
This property gets the layers you will be drawing.
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 that will be drawn.
public RectangleShape WorldExtent { get; set; }
Property Value
- RectangleShape
This property gets the world extent that will be drawn.
Remarks
None