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.](images/fontcontrol_subsuper.png)
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for