次の方法で共有


Font.SystemFontOfSize(Double, FontWeight, FontSlant, Boolean) メソッド

定義

デバイスとプラットフォームの要求されたサイズの既定のフォントを表すフォント インスタンスを返します。

public static Microsoft.Maui.Font SystemFontOfSize (double size, Microsoft.Maui.FontWeight weight = Microsoft.Maui.FontWeight.Regular, Microsoft.Maui.FontSlant fontSlant = Microsoft.Maui.FontSlant.Default, bool enableScaling = true);
static member SystemFontOfSize : double * Microsoft.Maui.FontWeight * Microsoft.Maui.FontSlant * bool -> Microsoft.Maui.Font
Public Shared Function SystemFontOfSize (size As Double, Optional weight As FontWeight = Microsoft.Maui.FontWeight.Regular, Optional fontSlant As FontSlant = Microsoft.Maui.FontSlant.Default, Optional enableScaling As Boolean = true) As Font

パラメーター

size
Double

目的のフォント サイズ。

weight
FontWeight
fontSlant
FontSlant
enableScaling
Boolean

戻り値

要求された Font

適用対象