←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
WinRT C#
C++
Public Function PointToImage( _ 
   ByVal viewPerspective As Leadtools.RasterViewPerspective, _ 
   ByVal pt As Leadtools.LeadPoint _ 
) As Leadtools.LeadPoint 
- (LeadPoint)pointToImage:(LTRasterViewPerspective)viewPerspective  
              sourcePoint:(LeadPoint)src 
             
public LeadPoint pointToImage( 
  RasterViewPerspective viewPerspective,  
  LeadPoint pt 
) 
             
 function Leadtools.RasterImage.PointToImage(  
   viewPerspective , 
   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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly