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.

See Also

IFont::put_Bold