Share via


IXRGlyphs::SetFontRenderingEmSize (Windows Embedded CE 6.0)

1/6/2010

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

See Also

Reference

IXRGlyphs
IXRGlyphs::GetFontRenderingEmSize