Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
PointToImage Method
See Also 
Leadtools Namespace > RasterImage Class : PointToImage Method



viewPerspective
Source view perspective from which the point should be translated.
pt
The point to translate.
Translates a point (x,y) from the specified view perspective to this RasterImage view perspective.

Syntax

Visual Basic (Declaration) 
Public Function PointToImage( _
   ByVal viewPerspective As RasterViewPerspective, _
   ByVal pt As Point _
) As Point
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim viewPerspective As RasterViewPerspective
Dim pt As Point
Dim value As Point
 
value = instance.PointToImage(viewPerspective, pt)
C# 
public Point PointToImage( 
   RasterViewPerspective viewPerspective,
   Point pt
)
C++/CLI 
public:
Point PointToImage( 
   RasterViewPerspective viewPerspective,
   Point pt
) 

Parameters

viewPerspective
Source view perspective from which the point should be translated.
pt
The point to translate.

Return Value

The translated point.

Example

For an example, refer to PointFromImage.

Remarks

For more information, refer to Accounting for View Perspective.

For more information, refer to Changing Image Coordinates.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also