LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
RectangleToImage Method
See Also 
Leadtools Namespace > RasterImage Class : RectangleToImage Method



viewPerspective
Source view perspective from which the rectangle should be translated.
rc
The rectangle to translate.
viewPerspective
Source view perspective from which the rectangle should be translated.
rc
The rectangle to translate.
Translates a rectangle from a specified view perspective to this RasterImage view perspective. Supported in Silverlight, Windows Phone 7

Syntax

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

Parameters

viewPerspective
Source view perspective from which the rectangle should be translated.
rc
The rectangle to translate.

Return Value

The translated rectangle.

Example

For an example, refer to RectangleFromImage.

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