Font_Create

<< Click to Display Table of Contents >>

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

Font_Create

 

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