[]
        
(Showing Draft Content)

C1.Win.Themes.C1Theme.GetFont

GetFont Method

GetFont(string)

Gets a Font specified by a path.

Declaration
public Font GetFont(string path)
Parameters
Type Name Description
string path

The target path.

Returns
Type Description
Font

The font specified by path.

GetFont(string, Font)

Gets a Font specified by a path.

Declaration
public Font GetFont(string path, Font defaultValue)
Parameters
Type Name Description
string path

The target path.

Font defaultValue

Used if value at specified path does not exist.

Returns
Type Description
Font

The font specified by path or if font at specified path does not exist.