Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies values that identify the underline state of a FontControl.
Syntax
typedef enum UI_FONTUNDERLINE {
UI_FONTUNDERLINE_NOTAVAILABLE = 0,
UI_FONTUNDERLINE_NOTSET = 1,
UI_FONTUNDERLINE_SET = 2
} ;
Constants
UI_FONTUNDERLINE_NOTAVAILABLE Value: 0 Underlining is not enabled. |
UI_FONTUNDERLINE_NOTSET Value: 1 Underlining is off. |
UI_FONTUNDERLINE_SET Value: 2 Underlining is on. |
Remarks
UI_FONTUNDERLINE is associated with the Underline toggle button of the FontControl as shown in the following screen shot.

The Underline button is toggled based on the UI_FONTUNDERLINE value in UI_PKEY_FontProperties_Underline.
A solid single line is the only underline style supported by the FontControl.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only] |
Header | uiribbon.h |