LEADTOOLS (Leadtools assembly)

RectangleToImage Method

Show in webframe







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.
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
)
-(LeadRect)rectangleToImage:(LTRasterViewPerspective)viewPerspectiveToUse 
                         rc:(LeadRect)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

See Also

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

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