IFont::put_Bold

Sets the font's current bold property. Changing the Bold property may also change the Weight property. Setting Bold to TRUE sets the Weight to FW_BOLD (700); setting Bold to FALSE sets Weight to FW_NORMAL (400).

HRESULT put_Bold(
  BOOL bold  //Bold property for the font
);
 

Parameters

bold
[in] New bold property for the font.

Return Values

S_OK
The bold state was changed successfully.
S_FALSE
The font does not support a bold state. Note that this is not an error condition.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

IFont::get_Bold