Share via


IXRInline::SetFontStyle (Windows Embedded CE 6.0)

1/6/2010

This method sets the font style for the text in this inline element.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetFontStyle(
    XRFontStyle FontStyle
) = 0;

Parameters

  • FontStyle
    [in] An XRFontStyle enumerated type that describes the style in which the text is rendered.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Note

The value of pFontStyle might not be used for the font style when displayed because of font fallback. For example, if the font style XRFontStyle_Italic is specified, but XRFontStyle_Normal is the only font style available, the value of pFontStyle is still XRFonStyle_Italic.

.NET Framework Equivalent

System.Windows.Documents.Inline.FontStyle

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRInline
IXRInline::GetFontStyle