Partager via


XRStyleSimulations (Compact 2013)

3/28/2014

This enumeration describes the simulation style of a font. A simulation creates a font style by computing the style instead of by using a physical font. For example, Bold style usually needs a physical Bold font, but when you use a style simulation the Bold style is simulated by widening the strokes of normal font glyphs.

Syntax

enum XRStyleSimulations{
    XRStyleSimulations_None=0,
    XRStyleSimulations_BoldSimulation=1,
    XRStyleSimulations_ItalicSimulation=2,
    XRStyleSimulations_BoldItalicSimulation=3,
};

Members

  • XRStyleSimulations_None
    No font style simulation.
  • XRStyleSimulations_BoldSimulation
    Bold style simulation.
  • XRStyleSimulations_ItalicSimulation
    Italic style simulation.
  • XRStyleSimulations_BoldItalicSimulation
    Bold and Italic style simulation.

.NET Framework Equivalent

System.Windows.Media.StyleSimulations

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Enumerations
IXRGlyphs::GetStyleSimulations
IXRGlyphs::SetStyleSimulations