Navigation:  thinBasic Modules > UI (User Interface) > Resources > Fonts >

Font_Create

Previous pageReturn to chapter overviewNext page

 

Description

 

Create a font handle passing font specs.

 

Syntax

 

hFont = Font_Create(FontName, FontSize [, FontStyle])

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

FontName

String

No

Name of the font

FontSize

Number

No

Size of the font

FontStyle

Number

Yes

A numeric expression indicating the font style.

Use one or more of the following equates connected with OR:

%FONT_BOLD

%FONT_ITALIC

%FONT_UNDERLINE

 

Remarks

 

Restrictions

 

See also

 

Examples