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 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.