IFont::put_Underline

Sets the font's current underline property.

HRESULT put_Underline(
  BOOL underline  //Underline property for the font
);
 

Parameters

underline
[in] New underline property for the font.

Return Values

S_OK
The underline state was changed successfully.
S_FALSE
The font does not support an underline state. This value is not an error condition.

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::get_Underline