←Select platform

RectangleToImage Method

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
Public Function RectangleToImage( _ 
   ByVal viewPerspective As Leadtools.RasterViewPerspective, _ 
   ByVal rc As Leadtools.LeadRect _ 
) As Leadtools.LeadRect 
- (LeadRect)rectangleToImage:(LTRasterViewPerspective)viewPerspective  
                  sourceRect:(LeadRect)src 
             
public LeadRect rectangleToImage( 
  RasterViewPerspective viewPerspective,  
  LeadRect rc 
) 
             
 function Leadtools.RasterImage.RectangleToImage(  
   viewPerspective , 
   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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly