IFont::get_Underline

Indicates whether the font is underlined or not.

HRESULT get_Underline(
  BOOL* punderline  //Pointer to the font's underlined property
);
 

Parameters

punderline
[out] Pointer to the caller-allocated BOOL variable that indicates whether the font is underlined.

Return Values

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 punderline is not valid. For example, it may be NULL.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

IFont::put_Underline