UI_PKEY_FontProperties_VerticalPositioning

Identifies the UI_PKEY_FontProperties_VerticalPositioning property.

propertyDescription
   name = UI_PKEY_FontProperties_VerticalPositioning
   shellPKey = UI_PKEY_FontProperties_VerticalPositioning
   formatID = 00000307-7363-696e-8441798acf5aebb7
   propID = 307
   typeInfo
      type = UI_FONTVERTICALPOSITION

Remarks

UI_PKEY_FontProperties_VerticalPositioning is used by an application to query the value of the Superscript and Subscript controls.

The property value is from the UI_FONTVERTICALPOSITION enumeration.

The default value is UI_FONTVERTICALPOSITION_NOTSET.

The following screen shot shows the Superscript and Subscript buttons of the Ribbon FontControl.

screen shot of the fontcontrol element with the richfont attribute set to true.

The following table describes the properties and the UI result.

Property UI Result
UI_FONTVERTICALPOSITION_NOTAVAILABLE Superscript and Subscript buttons are disabled and can only be set by the application.
UI_FONTVERTICALPOSITION_NOTSET Superscript and Subscript buttons are not selected.
UI_FONTVERTICALPOSITION_SUPERSCRIPT Superscript button is selected.
UI_FONTVERTICALPOSITION_SUBSCRIPT Subscript button is selected.

 

Note

The Superscript and Subscript buttons cannot both be selected.

 

Font Control Properties

UI_FONTVERTICALPOSITION

Font Control