GetPreferredRowHeight Method (Styles)
In This Topic
Gets the preferred row height of the specified font.
Syntax
'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)
protected virtual int GetPreferredRowHeight(
ref Font ,
bool
)
Parameters
- font
- The font to measure.
- autoFit
Return Value
An integer value represents the preferred row height of the specified font
See Also