Font.SystemFontOfSize 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
SystemFontOfSize(Double) |
傳回可用字型執行個體,代表裝置及平台所要求大小的預設字型。 |
SystemFontOfSize(NamedSize) |
傳回可用字型執行個體,代表裝置及平台所要求大小的預設字型。 |
SystemFontOfSize(Double, FontAttributes) |
傳回具有指定大小和屬性的字型結構。 |
SystemFontOfSize(NamedSize, FontAttributes) |
傳回具有指定大小和屬性的字型結構。 |
SystemFontOfSize(Double)
SystemFontOfSize(NamedSize)
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
字型為粗體、斜體,或兩者皆非。
傳回
具有指定 attributes
和 size
的 Font 結構。
適用於
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
字型為粗體、斜體,或兩者皆非。
傳回
具有指定 attributes
和 size
的 Font 結構。