'Declaration
Function ToGdiFont( _ ByVal font As Font, _ Optional ByVal useDefault As Boolean _ ) As Font
'Usage
Dim instance As IPaintingContext Dim font As Font Dim useDefault As Boolean Dim value As Font value = instance.ToGdiFont(font, useDefault)
Font ToGdiFont( Font font, bool useDefault )
Parameters
- font
- The font data.
- useDefault
true
if the default font returned for an empty font data; otherwise,false
.
Return Value
A System.Drawing.Font object represents the corresponding GDI+ font.