次の方法で共有


IXRControl::GetFontSize (Compact 2013)

3/28/2014

This method retrieves the size of the text in this control.

Syntax

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

Parameters

  • pFontSize
    [out] Pointer to a float value that indicates the size of the text in this control.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.Control.FontSize

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRControl
IXRControl::SetFontSize