getItemBounds Method

Summary

Current logical (excluding the current transformation) bounds of any part of an item.

Syntax
TypeScript
JavaScript
ImageViewer.prototype.getItemBounds = function( 
   item, 
   part 
) 

Parameters

item

The item. Must be a valid item inside this viewer.

part

The item part requested.

Return Value

The bounding rectangle in pixels or LeadRectD.Empty if the item is not visible or does not have an image.

Remarks

Use ConvertBoundsToView to convert a bound from logical to physical 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.