Partager via


IXRGlyphs::GetStyleSimulations (Windows Embedded CE 6.0)

1/6/2010

This method retrieves the style simulations applied to the glyphs.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetStyleSimulations(
    XRStyleSimulations* pStyleSimulations
) = 0;

Parameters

  • pStyleSimulations
    [out] Pointer to an XRStyleSimulations enumerated type that indicates the style simulations applied to the glyphs.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Style simulations generally do not provide results that are comparable to specifying the appropriate bold or italic variant in a font family. When possible, use a font that supports a bold or italic appearance and compose the glyphs-based text by using that font.

.NET Framework Equivalent

System.Windows.Documents.Glyphs.StyleSimulations

Requirements

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

See Also

Reference

IXRGlyphs
IXRGlyphs::SetStyleSimulations