←Select platform

RectangleToImage Method

Summary
Translates a rectangle from a specified view perspective to this RasterImage view perspective.
Syntax
C#
VB
Objective-C
C++
Java
Public Function RectangleToImage( _ 
   ByVal viewPerspective As RasterViewPerspective, _ 
   ByVal rc As LeadRect _ 
) As LeadRect 
- (LeadRect)rectangleToImage:(LTRasterViewPerspective)viewPerspective  
                  sourceRect:(LeadRect)src 
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

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.