convertBoundsToView Method

Summary

Converts a rectangle value from logical (excluding the current transformation) to physical (in control pixel coordinates).

Syntax
TypeScript
JavaScript
ImageViewer.prototype.convertBoundsToView = function( 
   bounds, 
   clipped 
) 
convertBoundsToView( 
   bounds: LeadRectD, 
   clipped: boolean 
): LeadRectD; 

Parameters

bounds

The input bounding rectangle in logical coordinates

clipped

true to return the bounding rectangle intersected with the current viewer control area, otherwise; false.

Return Value

The converted bounds value.

Remarks

Use GetItemBounds to obtain the bounding rectangle of an item (or part of it) in logical coordinates.

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

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.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.