SelectedFontStyle()

语法

Style = SelectedFontStyle()
概要
Returns the style of the font chosen by the user with the FontRequester().

参数

无.

返回值

The style of the font chosen by the user with the FontRequester(). It can contain one or several of the following values:
  #PB_Font_Bold  : Font is bold.
  #PB_Font_Italic: Font is italic.
To test if a value is present, use the '&' (bitwise AND) operator:
  If SelectedFontStyle() & #PB_Font_Bold
    ; The font is bold
  EndIf

参阅

FontRequester()

已支持操作系统

所有

<- SelectedFontSize() - Requester Index