Skip to content

FontFamily - FontDialog

Describes the look of a font in a general way

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer FontFamily
Access Type Syntax
Read Access: Get FontFamily to IntegerVariable
Write Access: Set FontFamily to IntegerVariable/Value

Description

Font families describe the look of a font in a general way. They are intended for specifying fonts when the exact typeface desired is not available. The values for font families are as follows:

Constant Meaning
FF_DECORATIVE Novelty fonts. Old English is an example.
FF_DONTCARE Don't care or don't know.
FF_MODERN Fonts with constant stroke width (monospace), with or without serifs. Monospace fonts are usually modern. Pica, Elite, and Courier New are examples.
FF_ROMAN Fonts with variable stroke width (proportional) and with serifs. MS Serif is an example.
FF_SCRIPT Fonts designed to look like handwriting. Script and Cursive are examples.
FF_SWISS Fonts with variable stroke width (proportional) and without serifs. MS Sans Serif is an example.