AttributedText 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public AttributedText (string text, System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Graphics.Text.IAttributedTextRun> runs, bool optimal = false);
new Microsoft.Maui.Graphics.Text.AttributedText : string * System.Collections.Generic.IReadOnlyList<Microsoft.Maui.Graphics.Text.IAttributedTextRun> * bool -> Microsoft.Maui.Graphics.Text.AttributedText
Public Sub New (text As String, runs As IReadOnlyList(Of IAttributedTextRun), Optional optimal As Boolean = false)
參數
- text
- String
- optimal
- Boolean