IXRGlyphs::SetStyleSimulations (Windows Embedded CE 6.0)

1/6/2010

This method sets the style simulations applied to the glyphs.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetStyleSimulations(
    XRStyleSimulations StyleSimulations
) = 0; 

Parameters

  • StyleSimulations
    [in] XRStyleSimulations enumerated type that indicates the new 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::GetStyleSimulations