Click or drag to resize
CanvasFontSimulations Enumeration
Describes algorithmic style simulations that can be applied to the font face.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
[FlagsAttribute]
public enum CanvasFontSimulations
Members
  Member nameValueDescription
None0Indicates that no simulations are applied to the font face.
Bold1Indicates that algorithmic emboldening is applied to the font face.
Oblique2Indicates that algorithmic italicization is applied to the font face.
Remarks

Simulations are for when an app wants bold or italic faces of a font, but the font does not come built-in with bold or italic faces. A simulation will automatically generate a bold and/or italic face for that font, using an algorithm. The simulation may incur a performance cost, and may lack the visual quality of a face designed by the font author. However, simulations can be used to stylize a wide variety of fonts.

Bold and oblique simulations can be combined, via bitwise OR operation.

See Also