Font.SystemFontOfSize 方法

定義

多載

SystemFontOfSize(Double)

傳回可用字型執行個體,代表裝置及平台所要求大小的預設字型。

SystemFontOfSize(NamedSize)

傳回可用字型執行個體,代表裝置及平台所要求大小的預設字型。

SystemFontOfSize(Double, FontAttributes)

傳回具有指定大小和屬性的字型結構。

SystemFontOfSize(NamedSize, FontAttributes)

傳回具有指定大小和屬性的字型結構。

SystemFontOfSize(Double)

傳回可用字型執行個體,代表裝置及平台所要求大小的預設字型。

public static Xamarin.Forms.Font SystemFontOfSize (double size);
static member SystemFontOfSize : double -> Xamarin.Forms.Font

參數

size
Double

所需的字型大小。

傳回

所要求的 Font

適用於

SystemFontOfSize(NamedSize)

傳回可用字型執行個體,代表裝置及平台所要求大小的預設字型。

public static Xamarin.Forms.Font SystemFontOfSize (Xamarin.Forms.NamedSize size);
static member SystemFontOfSize : Xamarin.Forms.NamedSize -> Xamarin.Forms.Font

參數

size
NamedSize

所需的字型 NamedSize

傳回

所要求的粗體 Font

適用於

SystemFontOfSize(Double, FontAttributes)

傳回具有指定大小和屬性的字型結構。

public static Xamarin.Forms.Font SystemFontOfSize (double size, Xamarin.Forms.FontAttributes attributes);
static member SystemFontOfSize : double * Xamarin.Forms.FontAttributes -> Xamarin.Forms.Font

參數

size
Double

要求的字型大小。

attributes
FontAttributes

字型為粗體、斜體,或兩者皆非。

傳回

具有指定 attributessizeFont 結構。

適用於

SystemFontOfSize(NamedSize, FontAttributes)

傳回具有指定大小和屬性的字型結構。

public static Xamarin.Forms.Font SystemFontOfSize (Xamarin.Forms.NamedSize size, Xamarin.Forms.FontAttributes attributes);
static member SystemFontOfSize : Xamarin.Forms.NamedSize * Xamarin.Forms.FontAttributes -> Xamarin.Forms.Font

參數

size
NamedSize

要求的具名字型大小。

attributes
FontAttributes

字型為粗體、斜體,或兩者皆非。

傳回

具有指定 attributessizeFont 結構。

適用於