BCGControlBar Library for .NET
ExcludeRectangle Method




The boundaries of the area to exclude a rectangle from.
A rectangle to exclude.
A dock style of the control.
Called by the framework on calculating the layout of the docked control. Excludes a specified rectangle from the boundaries of the docked control according to its DockStyle.
Syntax
'Declaration
 
Public Shared Function ExcludeRectangle( _
   ByVal rectOrg As Rectangle, _
   ByVal rectExclude As Rectangle, _
   ByVal Dock As DockStyle _
) As Rectangle
'Usage
 
Dim rectOrg As Rectangle
Dim rectExclude As Rectangle
Dim Dock As DockStyle
Dim value As Rectangle
 
value = GlobalUtils.ExcludeRectangle(rectOrg, rectExclude, Dock)
public static Rectangle ExcludeRectangle( 
   Rectangle rectOrg,
   Rectangle rectExclude,
   DockStyle Dock
)
public: static Rectangle ExcludeRectangle( 
   Rectangle rectOrg,
   Rectangle rectExclude,
   DockStyle Dock
) 
public:
static Rectangle ExcludeRectangle( 
   Rectangle rectOrg,
   Rectangle rectExclude,
   DockStyle Dock
) 

Parameters

rectOrg
The boundaries of the area to exclude a rectangle from.
rectExclude
A rectangle to exclude.
Dock
A dock style of the control.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GlobalUtils Class
GlobalUtils Members

Send Feedback