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



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

Syntax

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

Parameters

viewPerspective
Destination RasterViewPerspective to which the rectangle should be translated.
rc
The rectangle to translate.

Return Value

The translated rectangle.

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