Skip to content

FontType - FontDialog

Specifies the type of the selected font when the font dialog returns

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

Syntax

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

Description

FontType specifies the type of the selected font when the font dialog returns. It can be a combination of the following values:

Valid values:

Constant Meaning
BOLD_FONTTYPE The font weight is bold. This information is duplicated in the FontWeight property and is equivalent to FW_BOLD.
ITALIC_FONTTYPE The italic font attribute is set. This information is duplicated in the FontItalic property.
PRINTER_FONTTYPE The font is a printer font.
REGULAR_FONTTYPE The font weight is normal. This information is duplicated in the FontWeight property and is equivalent to FW_REGULAR.
SCREEN_FONTTYPE The font is a screen font.
SIMULATED_FONTTYPE The font is simulated by the graphics device interface (GDI).