UI_FONTDELTASIZE

UI_FONTDELTASIZE enumeration

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

Constants

UI_FONTDELTASIZE_GROW

Increment the font size.

UI_FONTDELTASIZE_SHRINK

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

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_DeltaSize

 

 

Community Additions

ADD
Show:
© 2016 Microsoft