Skip to content

FontWeight - FontDialog

Specifies the weight of the font in the range 0 through 1000

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

Syntax

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

Description

FontWeight specifies the weight of the font in the range 0 through 1000. For example, 400 is normal and 700 is bold. If this value is zero, a default weight is used.

The following values are defined for convenience: FW_DONTCARE FW_THIN FW_EXTRALIGHT FW_ULTRALIGHT FW_LIGHT FW_NORMAL FW_REGULAR FW_MEDIUM FW_SEMIBOLD FW_DEMIBOLD FW_BOLD FW_EXTRABOLD FW_ULTRABOLD FW_HEAVY FW_BLACK