BCGControlBar Library for .NET
GetCaptionHeight Method (GlobalUtils)




A form to get a caption height.
Returns the height of the caption for the specified form according to its border style.
Syntax
'Declaration
 
Public Shared Function GetCaptionHeight( _
   ByVal form As Form _
) As Integer
'Usage
 
Dim form As Form
Dim value As Integer
 
value = GlobalUtils.GetCaptionHeight(form)
public static int GetCaptionHeight( 
   Form form
)
public: static int GetCaptionHeight( 
   Form* form
) 
public:
static int GetCaptionHeight( 
   Form^ form
) 

Parameters

form
A form to get a caption height.
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