Share via


IXRTextElement::GetFontSize (Compact 2013)

3/28/2014

This method retrieves the font size for the text in this text element.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetFontSize(
    __out float* pFontSize
) = 0;

Parameters

  • pFontSize
    [out] Pointer to a float value that indicates the font size for the text in the text element.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Documents.TextElement.FontSize

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRTextElement
IXRTextElement::SetFontSize