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



viewPerspective
Destination RasterViewPerspective to which the point should be translated.
pt
The point to translate.
viewPerspective
Destination RasterViewPerspective to which the point should be translated.
pt
The point to translate.
Translates a point from this RasterImage view perspective to the specified view perspective.

Syntax

Visual Basic (Declaration) 
Public Overridable Function PointFromImage( _
   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.PointFromImage(viewPerspective, pt)
C# 
public virtual Point PointFromImage( 
   RasterViewPerspective viewPerspective,
   Point pt
)
C++/CLI 
public:
virtual Point PointFromImage( 
   RasterViewPerspective viewPerspective,
   Point pt
) 

Parameters

viewPerspective
Destination RasterViewPerspective to 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 and Changing Image Coordinates.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also