[]
        
(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)
Public Function GetFont(path As String) As Font
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)
Public Function GetFont(path As String, defaultValue As Font) As Font
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.