IFont::get_Bold method

Gets the font's current Bold property.

Syntax


HRESULT get_Bold(
  [out] BOOL *pBold
);

Parameters

pBold [out]

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 codeDescription
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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IFont is defined as BEF6E002-A874-101A-8BBA-00AA00300CAB

See also

IFont
IFont::put_Bold

 

 

Show: