←Select platform

PointToImage Method

Summary

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

Syntax
C#
VB
Java
Objective-C
C++
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.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly