# 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.

See Also

IFont::put_Underline