...
| Description |
|---|
| Excerpt |
|---|
The CharacterRun class represents a contiguous run of characters in the document, all of which have the same formatting. |
| Signature | ||||
|---|---|---|---|---|
| ||||
public sealed class CharacterRun : Element
{signature}{signature: |
| Signature | ||||||
|---|---|---|---|---|---|---|
| }
| |||||
Public NotInheritable Class CharacterRun
Inherits Element
{signature}
{remarks}To insert a new character run into a document, use [ |
| Remarks |
|---|
To insert a new character run into a document, use Element.InsertTextBefore() |Element.InsertTextBefore]or [|Element. InsertTextAfter].To get an existing character run, use [Element.GetElements(Element.Type.CharacterRun) |Element.GetElements(Element.Type)]or [|Element.Children]and check which elements are of type [|Element.Type#CharacterRun]. The following sample demonstrates inserting a new character run into a document and retrieving the first character run from an existing document. {remarks} {example}{code:csharp|title=C#}. The following sample demonstrates inserting a new character run into a document and retrieving the first character run from an existing document. |
| Example | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| Properties |
|---|
Name | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| |||||||||
| |||||||||
| |||||||||
| |||||||||
| |||||||||
| |||||||||
| |||||||||
| |||||||||
| |||||||||
|