[]
Adds a text run with default formatting to the end of the Inlines collection.
public TextRun Append(string text)
Public Function Append(text As String) As TextRun
| Type | Name | Description |
|---|---|---|
| string | text | The text to append. |
| Type | Description |
|---|---|
| TextRun | The created text run. |
Adds a text run with default formatting to the end of the Inlines collection.
public TextRun Append(int[] codePoints)
Public Function Append(codePoints As Integer()) As TextRun
| Type | Name | Description |
|---|---|---|
| int[] | codePoints | An array of UTF-32 characters (code points). |
| Type | Description |
|---|---|
| TextRun | The created text run. |
Adds a text run with default formatting to the end of the Inlines collection.
public TextRun Append(int[] codePoints, int startIndex, int count)
Public Function Append(codePoints As Integer(), startIndex As Integer, count As Integer) As TextRun
| Type | Name | Description |
|---|---|---|
| int[] | codePoints | An array of UTF-32 characters (code points). |
| int | startIndex | Index of the first code point in the subrange. |
| int | count | Number of code points in the subrange. |
| Type | Description |
|---|---|
| TextRun | The created text run. |
Adds a text run with the specified format to the end of the Inlines collection.
public TextRun Append(string text, TextFormat format)
Public Function Append(text As String, format As TextFormat) As TextRun
| Type | Name | Description |
|---|---|---|
| string | text | The text to append. |
| TextFormat | format | The text format to use. |
| Type | Description |
|---|---|
| TextRun | The created text run. |
Adds a text run with the specified format to the end of the Inlines collection.
public TextRun Append(int[] codePoints, TextFormat format)
Public Function Append(codePoints As Integer(), format As TextFormat) As TextRun
| Type | Name | Description |
|---|---|---|
| int[] | codePoints | An array of UTF-32 characters (code points). |
| TextFormat | format | The text format to use. |
| Type | Description |
|---|---|
| TextRun | The created text run. |
Adds a text run with the specified format to the end of the Inlines collection.
public TextRun Append(int[] codePoints, TextFormat format, IGcTag gcTag)
Public Function Append(codePoints As Integer(), format As TextFormat, gcTag As IGcTag) As TextRun
| Type | Name | Description |
|---|---|---|
| int[] | codePoints | An array of UTF-32 characters (code points). |
| TextFormat | format | The text format to use. |
| IGcTag | gcTag | The tag associated with the text. |
| Type | Description |
|---|---|
| TextRun | The created text run. |
Adds a text run with the specified format to the end of the Inlines collection.
public TextRun Append(int[] codePoints, int startIndex, int count, TextFormat format)
Public Function Append(codePoints As Integer(), startIndex As Integer, count As Integer, format As TextFormat) As TextRun
| Type | Name | Description |
|---|---|---|
| int[] | codePoints | An array of UTF-32 characters (code points). |
| int | startIndex | Index of the first code point in the subrange. |
| int | count | Number of code points in the subrange. |
| TextFormat | format | The text format to use. |
| Type | Description |
|---|---|
| TextRun | The created text run. |
Adds a text run with the specified format to the end of the Inlines collection.
public TextRun Append(int[] codePoints, int startIndex, int count, TextFormat format, IGcTag gcTag)
Public Function Append(codePoints As Integer(), startIndex As Integer, count As Integer, format As TextFormat, gcTag As IGcTag) As TextRun
| Type | Name | Description |
|---|---|---|
| int[] | codePoints | An array of UTF-32 characters (code points). |
| int | startIndex | Index of the first code point in the subrange. |
| int | count | Number of code points in the subrange. |
| TextFormat | format | The text format to use. |
| IGcTag | gcTag | The tag associated with the text. |
| Type | Description |
|---|---|
| TextRun | The created text run. |
Adds an inline object, or a copy of it, to the end of the Inlines collection.
If adding the same inline object multiple times, make sure to pass true as the addCopy parameter.
public InlineObject Append(InlineObject inlineObject, bool addCopy = true)
Public Function Append(inlineObject As InlineObject, Optional addCopy As Boolean = True) As InlineObject
| Type | Name | Description |
|---|---|---|
| InlineObject | inlineObject | The inline object to add or copy. |
| bool | addCopy | If true, a copy of the |
| Type | Description |
|---|---|
| InlineObject | The appended inline object. |
Adds an anchored object, or a copy of it, to the end of the Inlines collection.
If adding the same anchored object multiple times, make sure to pass true as the addCopy parameter.
public AnchoredObject Append(AnchoredObject anchoredObject, bool addCopy = true)
Public Function Append(anchoredObject As AnchoredObject, Optional addCopy As Boolean = True) As AnchoredObject
| Type | Name | Description |
|---|---|---|
| AnchoredObject | anchoredObject | The anchored object to add or copy. |
| bool | addCopy | If true, a copy of the |
| Type | Description |
|---|---|
| AnchoredObject | The appended anchored object. |