←Select platform

PointToImage Method

Summary

Translates a point (x,y) from the specified view perspective to this RasterImage view perspective.

Syntax
C#
VB
Objective-C
C++
Java
Public Function PointToImage( _ 
   ByVal viewPerspective As RasterViewPerspective, _ 
   ByVal pt As LeadPoint _ 
) As LeadPoint 
- (LeadPoint)pointToImage:(LTRasterViewPerspective)viewPerspective  
              sourcePoint:(LeadPoint)src 
public LeadPoint pointToImage( 
  RasterViewPerspective viewPerspective,  
  LeadPoint pt 
) 

Parameters

viewPerspective
Source view perspective from which the point should be translated.

pt
The point to translate.

Return Value

The translated point.

Remarks

For more information, refer to Accounting for View Perspective.

For more information, refer to Changing Image Coordinates.

Example

For an example, refer to PointFromImage.

Requirements

Target Platforms

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

Leadtools Assembly