LEADTOOLS (Leadtools assembly)

PointToImage Method

Show in webframe







Source view perspective from which the point should be translated.
The point to translate.
Translates a point (x,y) from the specified view perspective to this RasterImage view perspective.
Syntax
public LeadPoint PointToImage( 
   RasterViewPerspective viewPerspective,
   LeadPoint pt
)
'Declaration
 
Public Function PointToImage( _
   ByVal viewPerspective As RasterViewPerspective, _
   ByVal pt As LeadPoint _
) As LeadPoint
'Usage
 
Dim instance As RasterImage
Dim viewPerspective As RasterViewPerspective
Dim pt As LeadPoint
Dim value As LeadPoint
 
value = instance.PointToImage(viewPerspective, pt)
public LeadPoint PointToImage( 
   RasterViewPerspective viewPerspective,
   LeadPoint pt
)
-(LeadPoint)pointToImage:(LTRasterViewPerspective)viewPerspectiveToUse 
                      pt:(LeadPoint)pt;
            
public LeadPoint pointToImage(
  RasterViewPerspective viewPerspective, 
  LeadPoint pt
)
            
 function Leadtools.RasterImage.PointToImage( 
   viewPerspective ,
   pt 
)
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

See Also

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.