UI_FONTDELTASIZE enumeration (uiribbon.h)

Specifies values that identify whether the font size of a highlighted text run should be incremented or decremented.

Syntax

typedef enum UI_FONTDELTASIZE {
  UI_FONTDELTASIZE_GROW = 0,
  UI_FONTDELTASIZE_SHRINK = 1
} ;

Constants

 
UI_FONTDELTASIZE_GROW
Value: 0
Increment the font size.
UI_FONTDELTASIZE_SHRINK
Value: 1
Decrement the font size.

Remarks

When you highlight a run of heterogeneously sized text, the Ribbon framework sets the Font size control to blank. When you click the Font grow button or the Font shrink button, the highlighted text is resized, and the relative size variations in the text run are maintained.

The following screen shot shows the Font grow and Font shrink buttons on the FontControl.

Screen shot of the Font grow and Font shrink buttons on 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

See also

Constants and Enumerations

UI_PKEY_FontProperties_DeltaSize