LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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.
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. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Function PointToImage( _
   ByVal viewPerspective As RasterViewPerspective, _
   ByVal pt As LeadPoint _
) As LeadPoint
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim viewPerspective As RasterViewPerspective
Dim pt As LeadPoint
Dim value As LeadPoint
 
value = instance.PointToImage(viewPerspective, pt)
C# 
public LeadPoint PointToImage( 
   RasterViewPerspective viewPerspective,
   LeadPoint pt
)
C++/CLI 
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.

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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also