LEADTOOLS JavaScript (Leadtools.Controls)

CoordinateType Enumeration

Show in webframe
Indicates the coordinate type for conversions.
Syntax
Leadtools.Controls.CoordinateType = function() { };
Leadtools.Controls.CoordinateType.prototype = {
control = 0x00000000, image = 0x00000001, };
Members
ValueMemberDescription
0x00000000control

(0)The coordinates are in control unit, such a mouse or touch on the control surface. These are raw coordinates with no transformation applied.

0x00000001image

(1)The coordinates are in image coordinates. These are the coordinates of the image after all transformation is applied (current zoom and scroll factors).

Remarks

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:

Example

For an example, refer to ImageViewer.ConvertRect.

See Also

Reference

Leadtools.Controls Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.