LEADTOOLS JavaScript (Leadtools.Controls)
LEAD Technologies, Inc

CoordinateType Enumeration


Indicates the coordinate type for conversions.
Syntax
Leadtools.Controls.CoordinateType = function() { };
Leadtools.Controls.CoordinateType.prototype = {
control = 0, image = 1, };
!MISSING Scrap '_RTJavaScript_Enumeration_SYNTAX'!
Members
ValueMemberDescription
0controlThe coordinates are in control unit, such a mouse or touch on the control surface. These are raw coordinates with no transformation applied.
1imageThe 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-2012 All Rights Reserved. LEAD Technologies, Inc.