convertPoint Method

Summary

Converts a LeadPointD from one coordinates to the other.

Syntax
TypeScript
JavaScript
ImageViewer.prototype.convertPoint = function( 
   item, 
   fromType, 
   toType, 
   point 
) 

Parameters

item

The reference item. This value can be null.

fromType

Original coordinates of point.

toType

Desired target coordinates.

point

The point to convert.

Return Value

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.

Requirements

Target Platforms

Help Version 22.0.2023.2.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.