IFont::get_Bold method (ocidl.h)

Gets the font's current Bold property.

Syntax

HRESULT get_Bold(
  [out] BOOL *pBold
);

Parameters

[out] pBold

A pointer to a caller-allocated variable that receives the current Bold property for the font.

Return value

This method can return one of these values.

Return code Description
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.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ocidl.h

See also

IFont

IFont::put_Bold