Member variable XbpFontDialog():defaultWeightClass Foundation
Specifies the weight of the font initially selected in the font dialog.
The :defaultWeightClass instance variable determines the default setting for the list of font styles in the combo box "Style". Note that the font style is a combined attribute determined by the values in the :defaultWeightClass and :defaultItalic member variables. If no default weight is specified, the font initially displayed in the dialog has the default weight defined by the font designer. In order to pre-select a bold font, for example, assign the constant XBPFONT_WEIGHT_BOLD to :defaultWeightClass. In this case, a bold variant of the default font is pre-selected in the dialog, and the font style in the "Style" combo box includes the style "Bold" or a localized equivalent. See XbpFont:weightClassfor a list of legal values for :defaultWeightClass.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.