put_Underline Method

IFont::put_Underline method

Sets the font's Underline property.

Syntax


HRESULT put_Underline(
  [in] BOOL underline
);

Parameters

underline [in]

The new Underline property for the font.

Return value

This method can return one of these values.

Return codeDescription
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.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IFont is defined as BEF6E002-A874-101A-8BBA-00AA00300CAB

See also

IFont
IFont::get_Underline

 

 

Show:
© 2016 Microsoft