←Select platform

GetWorkBounds Method

Summary

Current work bounds for this mode.

Syntax
C#
VB
C++
protected virtual LeadRectD GetWorkBounds( 
   ImageViewer imageViewer, 
   bool clipped 
) 
Protected Overridable Function GetWorkBounds( 
   ByVal imageViewer As ImageViewer, 
   ByVal clipped As Boolean 
) As LeadRectD 
protected:  
   virtual LeadRectD^ GetWorkBounds( 
      ImageViewer^ imageViewer, 
      bool clipped 
   ) 

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.