Share via


IXRGlyphs::GetFontRenderingEmSize (Windows Embedded CE 6.0)

1/6/2010

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 Silverlight 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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRGlyphs
IXRGlyphs::SetFontRenderingEmSize