Share via


IXRGlyphs::SetStyleSimulations (Compact 2013)

3/28/2014

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

See Also

Reference

IXRGlyphs
IXRGlyphs::GetStyleSimulations