[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITextRun

Interface ITextRun

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Represents a range of characters in a IRichText object.

public interface ITextRun

Properties

Font

Gets the font settings of current rich text run.

IFont Font { get; }

Property Value

IFont

Text

Gets or sets the text of current rich text run.

string Text { get; set; }

Property Value

string

Methods

Delete()

Deletes this rich text run from its parent IRichText object.

void Delete()

InsertAfter(string)

Inserts a new rich text run after current rich text run.

ITextRun InsertAfter(string text)

Parameters

text string

the text of new inserted run.

Returns

ITextRun

InsertBefore(string)

Inserts a new rich text run before current rich text run.

ITextRun InsertBefore(string text)

Parameters

text string

the text of new inserted run.

Returns

ITextRun