PrinterInteractiveOverlay¶
Namespace: ThinkGeo.Core
public class PrinterInteractiveOverlay : InteractiveOverlay, System.IDisposable
Inheritance Object → Overlay → InteractiveOverlay → PrinterInteractiveOverlay
Implements IDisposable
Properties¶
PrinterLayers¶
public GeoCollection<PrinterLayer> PrinterLayers { get; }
Property Value¶
GeoCollection<PrinterLayer>
IsEditable¶
public bool IsEditable { get; set; }
Property Value¶
IsEmpty¶
public bool IsEmpty { get; }
Property Value¶
ControlPointStyle¶
public PointStyle ControlPointStyle { get; set; }
Property Value¶
PointStyle
EditMask¶
public AreaStyle EditMask { get; set; }
Property Value¶
AreaStyle
DrawingMarginPercentage¶
This property gets and sets the extra drawing margin as a percentage around the map that draw to ensure that labeling is correct.
public double DrawingMarginPercentage { get; set; }
Property Value¶
This property gets the extra drawing margin as a percentage around the map that
draws to ensure that labeling is correct.
Remarks:
This extra margin that we draw exists so that labels match up if they are partially cut off.
RenderMode¶
This property gets and sets the render mode for drawing this overlay.
public RenderMode RenderMode { get; set; }
Property Value¶
Remarks:
Set GdiPlus to render map image with Gdi+. We recommend use this value with large data.
Set DrawingVisual to render map image with DrawingVisual feature in WPF. Use it when the spatial data is small to get better responding.
CanRefreshRegion¶
public bool CanRefreshRegion { get; protected set; }
Property Value¶
IsBase¶
public bool IsBase { get; set; }
Property Value¶
Name¶
Gets or sets the name of this overaly.
public string Name { get; set; }
Property Value¶
MapArguments¶
Gets or sets current map information which will be used for calculating mechanism.
public MapArguments MapArguments { get; set; }
Property Value¶
MapArguments
OverlayCanvas¶
Gets or sets the actual canvas which maintains all the visual elements on the overlay.
public Canvas OverlayCanvas { get; set; }
Property Value¶
Canvas
DrawingExceptionMode¶
This property gets and sets the DrawingExceptionMode used when an exception occurs during drawing.
public DrawingExceptionMode DrawingExceptionMode { get; set; }
Property Value¶
DrawingExceptionMode
IsVisible¶
Gets or sets if this overlay is visible.
public bool IsVisible { get; set; }
Property Value¶
RefreshTypeOnResize¶
public OverlayRefreshType RefreshTypeOnResize { get; set; }
Property Value¶
Attribution¶
public string Attribution { get; set; }
Property Value¶
AutoRefreshInterval¶
public TimeSpan AutoRefreshInterval { get; set; }
Property Value¶
Constructors¶
PrinterInteractiveOverlay()¶
public PrinterInteractiveOverlay()
Methods¶
OpenCore()¶
protected void OpenCore()
InitializeCore(MapArguments)¶
protected void InitializeCore(MapArguments mapArguments)
Parameters¶
mapArguments
MapArguments
MouseMoveCore(InteractionArguments)¶
protected InteractiveResult MouseMoveCore(InteractionArguments interactionArguments)
Parameters¶
interactionArguments
InteractionArguments
Returns¶
MouseDownCore(InteractionArguments)¶
protected InteractiveResult MouseDownCore(InteractionArguments interactionArguments)
Parameters¶
interactionArguments
InteractionArguments
Returns¶
MouseUpCore(InteractionArguments)¶
protected InteractiveResult MouseUpCore(InteractionArguments interactionArguments)
Parameters¶
interactionArguments
InteractionArguments
Returns¶
MouseClickCore(InteractionArguments)¶
protected InteractiveResult MouseClickCore(InteractionArguments interactionArguments)
Parameters¶
interactionArguments
InteractionArguments
Returns¶
DrawTileAsyncCore(GeoCanvas)¶
protected Task DrawTileAsyncCore(GeoCanvas geoCanvas)
Parameters¶
geoCanvas
GeoCanvas
Returns¶
DrawCore(RectangleShape, OverlayRefreshType)¶
protected void DrawCore(RectangleShape targetExtent, OverlayRefreshType overlayRefreshType)
Parameters¶
targetExtent
RectangleShape
overlayRefreshType
OverlayRefreshType
CommttingDrawing(OverlayRefreshType, LayerTileView)¶
protected void CommttingDrawing(OverlayRefreshType overlayRefreshType, LayerTileView layerTile)
Parameters¶
overlayRefreshType
OverlayRefreshType
layerTile
LayerTileView
Events¶
MapMouseDown¶
This event will be fired when Mouse pressed Down on the Map.
public event EventHandler<MapMouseDownInteractiveOverlayEventArgs> MapMouseDown;
MapMouseMove¶
This event will be fired when Mouse moved on the Map.
public event EventHandler<MapMouseMoveInteractiveOverlayEventArgs> MapMouseMove;
MapMouseUp¶
This event will be fired when Mouse released up on the Map.
public event EventHandler<MapMouseUpInteractiveOverlayEventArgs> MapMouseUp;
MapMouseClick¶
This event will be fired when Mouse clicked(mouse up and mouse down in the same postion) on the Map.
public event EventHandler<MapMouseClickInteractiveOverlayEventArgs> MapMouseClick;
MapMouseDoubleClick¶
This event will be fired when Mouse double clicked on the Map.
public event EventHandler<MapMouseDoubleClickInteractiveOverlayEventArgs> MapMouseDoubleClick;
MapMouseWheel¶
This event will be fired when Mouse wheel on the Map.
public event EventHandler<MapMouseWheelInteractiveOverlayEventArgs> MapMouseWheel;
MapMouseLeave¶
Occurs when mouse leave the map canvas.
public event EventHandler<MapMouseLeaveInteractiveOverlayEventArgs> MapMouseLeave;
MapMouseEnter¶
Occurs when mouse enter the map canvas.
public event EventHandler<MapMouseEnterInteractiveOverlayEventArgs> MapMouseEnter;
MapKeyDown¶
Occurs when key down on the map canvas.
public event EventHandler<MapKeyDownInteractiveOverlayEventArgs> MapKeyDown;
MapKeyUp¶
Occurs when key up on the map canvas.
public event EventHandler<MapKeyUpInteractiveOverlayEventArgs> MapKeyUp;
Drawing¶
This event raises before the overlay is drawing.
public event EventHandler<DrawingOverlayEventArgs> Drawing;
Drawn¶
This event raises after the overlay is drawn.
public event EventHandler<DrawnOverlayEventArgs> Drawn;
DrawingAttribution¶
public event EventHandler<DrawingAttributionOverlayEventArgs> DrawingAttribution;
DrawnAttribution¶
public event EventHandler<DrawnAttributionOverlayEventArgs> DrawnAttribution;