LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

RectangleToImage Method






Source view perspective from which the rectangle should be translated.
The rectangle to translate.
Translates a rectangle from a specified view perspective to this RasterImage view perspective. .NET support Silverlight support WinRT support
Syntax
public LeadRect RectangleToImage( 
   RasterViewPerspective viewPerspective,
   LeadRect rc
)
'Declaration
 
Public Function RectangleToImage( _
   ByVal viewPerspective As RasterViewPerspective, _
   ByVal rc As LeadRect _
) As LeadRect
'Usage
 
Dim instance As RasterImage
Dim viewPerspective As RasterViewPerspective
Dim rc As LeadRect
Dim value As LeadRect
 
value = instance.RectangleToImage(viewPerspective, rc)
public LeadRect RectangleToImage( 
   RasterViewPerspective viewPerspective,
   LeadRect rc
)
 function Leadtools.RasterImage.RectangleToImage( 
   viewPerspective ,
   rc 
)
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.
Remarks

For more information, refer to Accounting for View Perspective.

For more information, refer to Changing Image Coordinates.

Example
For an example, refer to RectangleFromImage.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.