Indicates the coordinate type for conversions.
public enum CoordinateType
Public Enum CoordinateType
Inherits System.Enum
public enum CoordinateType
enum LTCoordinateType
public enum CoordinateType
Leadtools.Controls.CoordinateType = function() { };
Leadtools.Controls.CoordinateType.prototype = {
Control = 0,
Image = 1,
};
Members
Value | Member | Description |
---|---|---|
0 | Control |
The coordinates are in control unit, such a mouse or touch on the control surface. These are raw coordinates with no transformation applied. |
1 | Image |
The coordinates are in image coordinates. These are the coordinates of the image after all transformation is applied (current zoom and scroll factors). |
This enumeration is used to convert a coordinate (x,y) from one type to another, for example, it is used as a parameter for the source and destination types of:
For an example, refer to ImageViewer.ConvertRect.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET