←Select platform

RectangleToImage Method

Summary

Translates a rectangle from a specified view perspective to this RasterImage view perspective.

Syntax
C#
VB
Java
Objective-C
C++
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 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly