convertBoundsToView Method (ImageViewer)

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

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