IXRGlyphs::GetStyleSimulations (Compact 2013)

3/28/2014

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

See Also

Reference

IXRGlyphs
IXRGlyphs::SetStyleSimulations