XRFontStyle (Compact 2013)

3/28/2014

This enumeration contains values that represent the style of a font.

Syntax

enum XRFontStyle{
    XRFontStyle_Normal=0,
    XRFontStyle_Oblique=1,
    XRFontStyle_Italic=2,
};

Members

  • XRFontStyle_Normal
    Indicates that the characters are in a normal or Roman font.
  • XRFontStyle_Oblique
    Indicates that the characters in a normal or Roman font are artificially slanted by performing a shear transformation on them.

    XRFontStyle_Oblique is not supported in XAML for Windows Embedded.

  • XRFontStyle_Italic
    Indicates that the characters are in an italic font that was designed to appear slanted, instead of having a shear transformation applied to them.

.NET Framework Equivalent

System.Windows.FontStyles

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Enumerations
IXRControl::GetFontStyle
IXRControl::SetFontStyle
IXRTextElement::GetFontStyle
IXRTextElement::SetFontStyle
IXRTextBlock::GetFontStyle
IXRTextBlock::SetFontStyle