IFont::get_Underline method (ocidl.h)

Gets the font's current Underline property..

Syntax

HRESULT get_Underline(
  [out] BOOL *pUnderline
);

Parameters

[out] pUnderline

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

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_Underline