Skip to content

InteractionArguments

Namespace: ThinkGeo.Core

This class encapsulates the information and simple method for interative actions.

public class InteractionArguments

Inheritance ObjectInteractionArguments

Properties

ScreenX

Gets or sets the screen X position.

public float ScreenX { get; set; }

Property Value

Single

ScreenY

Gets or sets the screen Y position.

public float ScreenY { get; set; }

Property Value

Single

WorldX

Gets or sets the world X position.

public double WorldX { get; set; }

Property Value

Double

WorldY

Gets or sets the world Y position.

public double WorldY { get; set; }

Property Value

Double

MouseButton

Gets and sets which button is clicked on the map canvas.

public MapMouseButton MouseButton { get; set; }

Property Value

MapMouseButton

CurrentExtent

Gets or sets the current extent used in the MapControl.

public RectangleShape CurrentExtent { get; set; }

Property Value

RectangleShape

SearchingTolerance

Gets or sets the searching tolearance for tracking and editing.

public double SearchingTolerance { get; set; }

Property Value

Double

MapWidth

Gets or sets the with for the Map Control.

public double MapWidth { get; set; }

Property Value

Double

MapHeight

Gets or sets the height for the Map Control.

public double MapHeight { get; set; }

Property Value

Double

ManipulationDelta

Gets or sets the delta manipulation.

public ManipulationDelta ManipulationDelta { get; set; }

Property Value

ManipulationDelta

        The delta manipulation.

MapUnit

Gets or sets the unit for the Map Control.

public GeographyUnit MapUnit { get; set; }

Property Value

GeographyUnit

ZoomLevelSet

Gets or sets the ZoomLevelSet used in the Map Control.

public ZoomLevelSet ZoomLevelSet { get; set; }

Property Value

ZoomLevelSet

MouseWheelDelta

Gets or sets the Mouse wheel delta used in the MouseWheel method in InterativeOverlay.

public int MouseWheelDelta { get; set; }

Property Value

Int32

Scale

Gets or sets the scale in current status.

public double Scale { get; set; }

Property Value

Double

Constructors

InteractionArguments()

Constructor of InteractionArguments class.

public InteractionArguments()

Remarks:

If you use this constructor, you have to set the properties manually before use.

Methods

ToString()

Override the ToString API for object.

public string ToString()

Returns

String
Returns a string to mark this instance and easy to read its properties.