UI_FONTVERTICALPOSITION enumeration (uiribbon.h)

Specifies values that identify the vertical-alignment state of a FontControl.

Syntax

typedef enum UI_FONTVERTICALPOSITION {
  UI_FONTVERTICALPOSITION_NOTAVAILABLE = 0,
  UI_FONTVERTICALPOSITION_NOTSET = 1,
  UI_FONTVERTICALPOSITION_SUPERSCRIPT = 2,
  UI_FONTVERTICALPOSITION_SUBSCRIPT = 3
} ;

Constants

 
UI_FONTVERTICALPOSITION_NOTAVAILABLE
Value: 0
Vertical positioning is not enabled.
UI_FONTVERTICALPOSITION_NOTSET
Value: 1
Vertical positioning is enabled but not toggled.
UI_FONTVERTICALPOSITION_SUPERSCRIPT
Value: 2
Vertical positioning is enabled and toggled for superscript.
UI_FONTVERTICALPOSITION_SUBSCRIPT
Value: 3
Vertical positioning is enabled and toggled for subscript.

Remarks

UI_FONTVERTICALPOSITION is associated with the Subscript and Superscript toggle buttons of the RichFont FontControl as shown in the following screen shot.

Screen shot of the FontControl element with the RichFont attribute set to true. The Subscript and Superscript toggle buttons are displayed by default in a FontControl, depending on the value of the FontType attribute.

The Subscript and Superscript buttons are toggled based on the UI_FONTVERTICALPOSITION value in UI_PKEY_FontProperties_VerticalPositioning.

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

See also

Constants and Enumerations

UI_PKEY_FontProperties_VerticalPositioning