Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
Translates a rectangle from a specified view perspective to this RasterImage view perspective.

Syntax

Visual Basic (Declaration)  
Public Function RectangleToImage( _
   ByVal viewPerspective As RasterViewPerspective, _
   ByVal rc As Rectangle _
) As Rectangle
Visual Basic (Usage) Copy Code
Dim instance As RasterImage
Dim viewPerspective As RasterViewPerspective
Dim rc As Rectangle
Dim value As Rectangle
 
value = instance.RectangleToImage(viewPerspective, rc)
C#  
public Rectangle RectangleToImage( 
   RasterViewPerspective viewPerspective,
   Rectangle rc
)
C++/CLI  
public:
Rectangle RectangleToImage( 
   RasterViewPerspective viewPerspective,
   Rectangle 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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also