Export (0) Print
Expand All

UI_FONTVERTICALPOSITION enumeration

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
} UI_FONTVERTICALPOSITION;

Constants

UI_FONTVERTICALPOSITION_NOTAVAILABLE

Vertical positioning is not enabled.

UI_FONTVERTICALPOSITION_NOTSET

Vertical positioning is enabled but not toggled.

UI_FONTVERTICALPOSITION_SUPERSCRIPT

Vertical positioning is enabled and toggled for superscript.

UI_FONTVERTICALPOSITION_SUBSCRIPT

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

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

IDL

Uiribbon.idl

See also

Constants and Enumerations
UI_PKEY_FontProperties_VerticalPositioning

 

 

Community Additions

ADD
Show:
© 2014 Microsoft