Partager via


IXRGlyphs::SetFontRenderingEmSize (Compact 2013)

3/28/2014

This method sets the em size to use for rendering the glyphs.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetFontRenderingEmSize(
    float FontRenderingEmSize
) = 0; 

Parameters

  • FontRenderingEmSize
    [in] A float value that indicates the new em size to use for rendering the glyphs.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Em size is a typographical measure that specifies the approximate width of the capital Roman alphabet letter M, measured in the units that are prevalent in a particular technology. In XAML for Windows Embedded, em sizes are given in pixels. The visual size of the em size varies per font.

.NET Framework Equivalent

System.Windows.Documents.Glyphs.FontRenderingEmSize

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRGlyphs
IXRGlyphs::GetFontRenderingEmSize