Share via


IXRControl::GetFontWeight (Compact 2013)

3/28/2014

This method retrieves a value that indicates the density of a typeface, as measured by the lightness or heaviness of the strokes.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetFontWeight(
    XRFontWeight* pFontWeight
) = 0;

Parameters

  • pFontWeight
    [out] Pointer to an XRFontWeight enumerated value that indicates the density of a typeface.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.Control.FontWeight

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRControl
IXRControl::SetFontWeight