IFont::get_Bold

Indicates whether the font is bold or not.

HRESULT get_Bold(
  BOOL* pbold  //Pointer to the font's bold format
);
 

Parameters

pbold
[out] Pointer to a caller-allocated BOOL variable that indicates whether the font is bold or not.

Return Values

S_OK
The state was retrieved successfully. If the state is indeterminate, a font object should set *pbold to FALSE and return S_OK.
E_POINTER
The address in pbold is not valid. For example, it may be NULL.

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::put_Bold