convertBoundsToView Method

Summary

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

Syntax

JavaScript Syntax
ImageViewer.prototype.convertBoundsToView = function(bounds, clipped) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly