Partager via


XPS_STYLE_SIMULATION enumeration

Describes the simulation style of a font or glyph.

To simulate the appearance of a style that is not provided by the font or glyph, style simulation modifies an existing font or a glyph image.

Syntax

typedef enum  { 
  XPS_STYLE_SIMULATION_NONE        = 1,
  XPS_STYLE_SIMULATION_ITALIC,
  XPS_STYLE_SIMULATION_BOLD,
  XPS_STYLE_SIMULATION_BOLDITALIC
} XPS_STYLE_SIMULATION;

Constants

  • XPS_STYLE_SIMULATION_NONE
    No font style simulation.

  • XPS_STYLE_SIMULATION_ITALIC
    Italic style simulation.

  • XPS_STYLE_SIMULATION_BOLD
    Bold style simulation.

  • XPS_STYLE_SIMULATION_BOLDITALIC
    Both bold and italic style simulation: first bold, then italic.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

Xpsobjectmodel.h

IDL

XpsObjectModel.idl

See also

XML Paper Specification