Xbasic

VisualStyle::Font Class

Description

Properties and methods in the Font Class.

Properties

NameCharacter

Font face name.

SizeNumeric

Font Point Size

ColorCharacter

Text color.

BoldLogical

Font bolded.

ItalicLogical

Font italicized

UnderlineLogical

Font underlined

StrikeoutLogical

Font strikeout

OrientationNumeric

Font rotation (in degrees).

Methods

Combine Method

Combine feature of a base font into this font.

DefineFlags Method

Returns numeric value represent flags which properties the class defines.

DefinesMore Method

Returns true if baseFont defines properties not in current font.

FromString Method

Convert Font text to an font definition.

GenerateCssStyle Method

Generate the CSS style for the font.

GetFontDescriptor Method

Returns the font descriptor (i.e. ascii font name).

GetMetrics Method

Get a text metrics object for the font style.

QuickdrawGenerate Method

Generate quickdraw for line selection.

ToString Method

Output the Font text that represents the font definition.