getWorkBounds Method

Summary

Current work bounds for this mode.

Syntax
TypeScript
JavaScript
ImageViewerInteractiveMode.prototype.getWorkBounds = function( 
   imageViewer, 
   clipped 
) 
getWorkBounds( 
   imageViewer: ImageViewer, 
   clipped: boolean 
): LeadRectD; // protected 

Parameters

imageViewer

Current image viewer instance

clipped

true if the area is to be calculated clipped with the current viewer rectangle, otherwise; false.

Return Value

The work area bounds.

Remarks

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.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly