GetPreferredRowHeight Method (Styles)
Gets the preferred row height of the specified font.
protected virtual int GetPreferredRowHeight(
ref Font ,
bool
)
'Declaration
Protected Overridable Function GetPreferredRowHeight( _
ByRef As Font, _
ByVal 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