Share via


IXRControl::SetFontStretch (Compact 2013)

3/28/2014

This method sets a value that indicates how much a font is condensed or expanded on-screen.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetFontStretch(
    XRFontStretch FontStretch
) = 0; 

Parameters

  • FontStretch
    [in] XRFontStretch enumerated value that indicates how much a font should be condensed or expanded on-screen.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

This method does not cause programmatic stretching of glyphs.

.NET Framework Equivalent

System.Windows.Controls.Control.FontStretch

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRControl
IXRControl::GetFontStretch