Share via


IXRGlyphs::GetFontRenderingEmSize (Compact 2013)

3/28/2014

This method retrieves the em size used for rendering the glyphs.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetFontRenderingEmSize(
    float *pFontRenderingEmSize
) = 0;

Parameters

  • pFontRenderingEmSize
    [out] Pointer to a float value that indicates the em size used 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 an 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::SetFontRenderingEmSize