Font(String, Int32, FontStyleType) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public Font (string name, int weight = 400, Microsoft.Maui.Graphics.FontStyleType styleType = Microsoft.Maui.Graphics.FontStyleType.Normal);
new Microsoft.Maui.Graphics.Font : string * int * Microsoft.Maui.Graphics.FontStyleType -> Microsoft.Maui.Graphics.Font
Public Sub New (name As String, Optional weight As Integer = 400, Optional styleType As FontStyleType = Microsoft.Maui.Graphics.FontStyleType.Normal)
參數
- name
- String
- weight
- Int32
- styleType
- FontStyleType