←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 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly