Leadtools.Controls Namespace > ImageViewer Object : GetItemBounds Method |
Parameter | Type | Description |
---|---|---|
item | ImageViewerItem | The item. Must be a valid item inside this viewer. |
part | ImageViewerItemPart | The item part requested. |
Type | Description |
---|---|
LeadRectD | The bounding rectangle in pixels or LeadRectD.Empty if the item is not visible or does not have an image. |
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.