Class TextRun
A TextRun is a content element that represents a single run of text. A paragraph can contain multiple TextRun objects.
Implements
Inherited Members
Namespace: pdftron.Layout
Assembly: PDFNet.dll
Syntax
public class TextRun : ContentElement, IDisposable
Methods
Dispose(bool)
Declaration
[HandleProcessCorruptedStateExceptions]
protected override void Dispose(bool A_0)
Parameters
Type | Name | Description |
---|---|---|
bool | A_0 |
Overrides
GetText()
Get the text content of the TextRun object
Declaration
public string GetText()
Returns
Type | Description |
---|---|
string | The text content |
SetText(string)
Set the text content of the TextRun object
Declaration
public void SetText(string text)
Parameters
Type | Name | Description |
---|---|---|
string | text | The text content to set |