[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.IPaintingContext.ToGdiFont

ToGdiFont Method

ToGdiFont(Font, bool)

Gets the corresponding GDI+ font.

Declaration
Font ToGdiFont(Font font, bool useDefault = false)
Function ToGdiFont(font As Font, Optional useDefault As Boolean = False) As Font
Parameters
Type Name Description
Font font

The font data.

bool useDefault

true if the default font returned for an empty font data; otherwise, false.

Returns
Type Description
Font

A Font object represents the corresponding GDI+ font.