共用方式為


AttributedTextExtensions.CreateParagraphRun Method

Definition

public static int CreateParagraphRun (this Microsoft.Maui.Graphics.Text.IAttributedText text, int start, int length, System.Collections.Generic.IList<Microsoft.Maui.Graphics.Text.IAttributedTextRun> runs, int startIndexForSearch = 0);
static member CreateParagraphRun : Microsoft.Maui.Graphics.Text.IAttributedText * int * int * System.Collections.Generic.IList<Microsoft.Maui.Graphics.Text.IAttributedTextRun> * int -> int
<Extension()>
Public Function CreateParagraphRun (text As IAttributedText, start As Integer, length As Integer, runs As IList(Of IAttributedTextRun), Optional startIndexForSearch As Integer = 0) As Integer

Parameters

start
Int32
length
Int32
startIndexForSearch
Int32

Returns

Applies to