Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

ConvertPoint Method

Show in webframe
The reference item. This value can be null.
Original coordinates of point.
Desired target coordinates.
The point to convert.
Converts a LeadPointD from one coordinates to the other.
Syntax
 function Leadtools.Controls.ImageViewer.convertPoint( 
   item ,
   fromType ,
   toType ,
   point 
)

Parameters

ParameterTypeDescription
itemImageViewerItemThe reference item. This value can be null.
fromTypeImageViewerCoordinateTypeOriginal coordinates of point.
toTypeImageViewerCoordinateTypeDesired target coordinates.
pointLeadPointDThe point to convert.

Return Value

TypeDescription
LeadPointD The converted point
Remarks

For information on the various conversion types, refer to ConvertPoints.

For more information refer to Image Viewer Layouts, Image Viewer Appearance, Image Viewer Items, Image Viewer Transformation, and Image Viewer Bounds and Transform.

Example

For an example, refer to ConvertPoint.

See Also

Reference

ImageViewer Object
ImageViewer Members

Error processing SSI file