Skip to content

FontWeight Property

Description

Returns or sets the weight of the characters that make up a PropertyGridItemFont object. The weight refers to the thickness of the characters, or the boldness factor. The higher the value, the bolder the character.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property FontWeight() As Long

Remarks

The FontWeight property of the PropertyGridItemFont object is set by selecting an item from the Font Style box in the Font Picker dialog box. The Regular and Italic settings have a Weight value of 400 (the default), and the Bold and Bold Italic settings have a Weight value of 700.

See Also


See Also Property Grid ActiveX Control v24.0


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.