Compartilhar via


IXRControl::SetFontWeight (Compact 2013)

3/28/2014

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetFontWeight(
    XRFontWeight FontWeight
) = 0; 

Parameters

  • FontWeight
    [in] XRFontWeight enumerated values that indicates the new 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::GetFontWeight