←Select platform

ConvertRect(ImageViewerItem,ImageViewerCoordinateType,ImageViewerCoordinateType,LeadRectD) Method (ImageViewer)

Summary

Converts a LeadRectD from one coordinates to the other.

Syntax

C#
VB
C++
Public Overridable Function ConvertRect( 
   ByVal item As ImageViewerItem, 
   ByVal fromType As ImageViewerCoordinateType, 
   ByVal toType As ImageViewerCoordinateType, 
   ByVal rect As LeadRectD 
) As LeadRectD 

Parameters

item

The reference item. This value can be null.

fromType

Original coordinates of rect.

toType

Desired target coordinates.

rect

The rectangle to convert.

Return Value

The converted rectangle

Remarks

For information on the various conversion types, refer to ConvertPoints.

For more information refer to Image Viewer Layouts, Image Viewer Appearance, Image Viewer Items, Image Viewer Transformation, and Image Viewer Bounds and Transform.

Example

For an example, refer to ConvertPoint.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls.WinForms Assembly
Click or drag to resize