Class TextRunCollection
A typed collection of DrawingTextRun objects on a DrawingTextParagraph. Inherits all List<T> operations and adds Add(string) (create new run) convenience method.
Implements
Inherited Members
Namespace: DRIT.Document.Drawing
Assembly: DRIT.Document.dll
Syntax
public class TextRunCollection : List<DrawingTextRun>, IList<DrawingTextRun>, ICollection<DrawingTextRun>, IList, ICollection, IReadOnlyList<DrawingTextRun>, IReadOnlyCollection<DrawingTextRun>, IEnumerable<DrawingTextRun>, IEnumerable
Methods
Add(string)
Creates and adds a new text run with the specified text.
Declaration
public DrawingTextRun Add(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text for the new run. |
Returns
| Type | Description |
|---|---|
| DrawingTextRun | The newly created run. |