Leadtools.Controls Namespace > ImageViewerInteractiveMode Object : GetWorkBounds Method |
function Leadtools.Controls.ImageViewerInteractiveMode.getWorkBounds( imageViewer , clipped )
Parameter | Type | Description |
---|---|---|
imageViewer | ImageViewer | Current image viewer instance |
clipped | bool | true if the area is to be calculated clipped with the current viewer rectangle, otherwise; false. |
Type | Description |
---|---|
LeadRectD | The work area bounds. |
This method will return the bounds of Item (using ItemPart) if its not null, otherwise it will return the current view bounds of the viewer.