IFont::get_Underline method

Gets the font's current Underline property..

Syntax


HRESULT get_Underline(
  [out] BOOL *pUnderline
);

Parameters

pUnderline [out]

A pointer to the caller-allocated variable that receives the current Underline 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 *pUnderline to FALSE and return S_OK.

E_POINTER

The address in the pUnderline parameter 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_Underline

 

 

Show: