[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITextRun.Delete

Delete Method

Delete()

Deletes this ITextRun from its parent IRichText object.

Use this method to remove the current text run from the rich text content of a cell.

Declaration
void Delete()
Sub Delete()
Examples
IRichText richText = worksheet.Range["A1"].RichText;
richText.Add("Hello");
ITextRun textRun = worksheet.Range["A1"].Characters(1, 3);
textRun.Delete();