Show / Hide Table of Contents

Class TextRun

A TextRun is a content element that represents a single run of text. A paragraph can contain multiple TextRun objects.

Inheritance
object
ContentElement
TextRun
Implements
IDisposable
Inherited Members
ContentElement.GetTextStyledElement()
ContentElement.AsContentNode()
ContentElement.AsTextRun()
ContentElement.AsParagraph()
ContentElement.AsTableCell()
ContentElement.AsTableRow()
ContentElement.AsTable()
ContentElement.AsList()
ContentElement.AsListItem()
ContentElement.Dispose()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
ContentElement.Dispose(bool)

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

Implements

IDisposable
In This Article
Back to top Generated by DocFX