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

See Also

IFont::get_Underline