BCGControlBar Library for .NET
GetBorderSize Method




A form to get a border style.
Returns the size of the border for the specified form according to its border style.
Syntax
'Declaration
 
Public Shared Function GetBorderSize( _
   ByVal form As Form, _
   ByVal isRibbonPresent As Boolean _
) As Size
'Usage
 
Dim form As Form
Dim isRibbonPresent As Boolean
Dim value As Size
 
value = GlobalUtils.GetBorderSize(form, isRibbonPresent)
public static Size GetBorderSize( 
   Form form,
   bool isRibbonPresent
)
public: static Size GetBorderSize( 
   Form* form,
   bool isRibbonPresent
) 
public:
static Size GetBorderSize( 
   Form^ form,
   bool isRibbonPresent
) 

Parameters

form
A form to get a border style.
isRibbonPresent
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