Returns the height required to fit the maximum number of calendar months within the specified height.
'Declaration
Public Function GetPreferredHeight( _
ByVal As Integer _
) As Integer
'Usage
Dim instance As WinCalendar
Dim height As Integer
Dim value As Integer
value = instance.GetPreferredHeight(height)
public int GetPreferredHeight(
int
)
Parameters
- height
- The total available height.
Return Value
A value representing the height required to fit the maximum number of calendar months.
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