[]
        
(Showing Draft Content)

C1.Util.Font.GetBuiltIn

GetBuiltIn Method

GetBuiltIn(string, bool, bool, bool)

Gets build-in font by font name and attributes.

Declaration
public static BuildInFont GetBuiltIn(string fontName, bool sansSerif = false, bool fixedPitch = false, bool symbol = false)
Public Shared Function GetBuiltIn(fontName As String, Optional sansSerif As Boolean = False, Optional fixedPitch As Boolean = False, Optional symbol As Boolean = False) As BuildInFont
Parameters
Type Name Description
string fontName

The font name or family.

bool sansSerif

If true, that the sans-serif font, default false.

bool fixedPitch

If true, that the fixed-pitch font, default false.

bool symbol

If true, that the symbol font, default false.

Returns
Type Description
BuildInFont

The build-in font value, default Helvetica.