次の方法で共有


IXRTextBlock::SetFontSize (Windows Embedded CE 6.0)

1/6/2010

This method sets the font size for the text in this text block.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetFontSize(
    float FontSize
) = 0; 

Parameters

  • FontSize
    [in] A float value that indicates the font size for the text in this text block.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.TextBlock.FontSize

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRTextBlock
IXRTextBlock::GetFontSize