Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Styles Class / GetPreferredRowHeight Method
The font to measure.


In This Topic
GetPreferredRowHeight Method (Styles)
In This Topic
Gets the preferred row height of the specified font.
Syntax
'Declaration
 
Protected Overridable Function GetPreferredRowHeight( _
   ByRef font As Font, _
   ByVal autoFit As Boolean _
) As Integer
 
'Usage
 
Dim instance As Styles
Dim font As Font
Dim autoFit As Boolean
Dim value As Integer
 
value = instance.GetPreferredRowHeight(font, autoFit)

Parameters

font
The font to measure.
autoFit

Return Value

An integer value represents the preferred row height of the specified font
See Also