Partager via


IXRControl::GetFontStretch (Compact 2013)

3/28/2014

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

Syntax

virtual HRESULT STDMETHODCALLTYPE GetFontStretch(
    XRFontStretch* pFontStretch
) = 0;

Parameters

  • pFontStretch
    [out] Pointer to an XRFontStretch enumerated value that indicates how much a font is 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::SetFontStretch