[]
        
(Showing Draft Content)

GrapeCity.Documents.Text.TextRun

TextRun Class

Represents a discrete section of formatted or unformatted text.

Inheritance
TextRun
Namespace: GrapeCity.Documents.Text
Assembly: DS.Documents.Imaging.dll
Syntax
public class TextRun : FormattableInline
Public Class TextRun
    Inherits FormattableInline

Constructors

Name Description
TextRun(int[], int, int)

Creates a new instance of TextRun based on a subrange of an array of UTF-32 characters.

TextRun(int[], int, int, TextFormat)

Creates a new instance of TextRun based on a subrange of an array of UTF-32 characters.

TextRun(string)

Creates a new instance of TextRun.

TextRun(string, TextFormat)

Creates a new instance of TextRun.

Properties

Name Description
Text

Gets or sets the text of the section.

Methods

Name Description
GetCharCount()

Gets the string of UTF-16 characters.

GetChars()

Gets the string of UTF-16 characters.