LayersDrawnEventArgs¶
Namespace: ThinkGeo.Core
Provides data for the MapEngine.LayersDrawn event, which fires after all layers finish drawing.
public class LayersDrawnEventArgs : System.EventArgs
Inheritance object → EventArgs → LayersDrawnEventArgs
Remarks:
Handle this event to perform custom drawing on the final map image or to inspect the state of the layers that have just rendered.
Properties¶
WorldExtent¶
Gets or sets the world extent that describes the geographic area that was drawn.
public RectangleShape WorldExtent { get; set; }
Property Value¶
NativeImage¶
Gets or sets the native image handle or drawing surface used during rendering.
public object NativeImage { get; set; }
Property Value¶
Layers¶
Gets or sets the collection of layers that have completed rendering.
public IEnumerable<Layer> Layers { get; set; }
Property Value¶
Constructors¶
LayersDrawnEventArgs()¶
Initializes a new instance of the LayersDrawnEventArgs class.
public LayersDrawnEventArgs()
Remarks:
When this constructor is used, set the LayersDrawnEventArgs.Layers, LayersDrawnEventArgs.WorldExtent, and LayersDrawnEventArgs.NativeImage properties before raising the event.
LayersDrawnEventArgs(IEnumerable<Layer>, RectangleShape, object)¶
Initializes a new instance of the LayersDrawnEventArgs class with the specified drawing information.
public LayersDrawnEventArgs(IEnumerable<Layer> layers, RectangleShape worldExtent, object nativeImage)
Parameters¶
layers IEnumerable<Layer>
The collection of layers that were just drawn.
worldExtent RectangleShape
The world extent that was rendered.
nativeImage object
The native image handle or drawing surface that the layers rendered to.