Initializes a LOGFONT structure based on the GDI-compatible properties of the specified font.
'Declaration
Public Function ToLogFont( _
ByVal As Font, _
ByVal As System.Object _
) As System.Boolean
public System.bool ToLogFont(
Font ,
System.object
)
Parameters
- font
- An Font object to be converted into a GDI-compatible LOGFONT structure.
- logFont
- When this method returns, contains a structure that receives a GDI-compatible font description.
Return Value
TRUE if the specified font object is part of the system font collection; otherwise, FALSE.