IXRInline::GetFontStyle (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

virtual HRESULT STDMETHODCALLTYPE GetFontStyle(
  XRFontStyle* pFontStyle
) = 0;

Parameters

  • pFontStyle
    Pointer to 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::SetFontStyle