[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IRange.Characters

Characters Method

Characters(int, int)

Returns a ITextRun object that represents a range of characters within the cell text, this method can only be called when the value of cell is a string, or else InvalidOperationException is thrown.

Declaration
ITextRun Characters(int startIndex, int length)
Function Characters(startIndex As Integer, length As Integer) As ITextRun
Parameters
Type Name Description
int startIndex

the start index of characters in whole cell text.

int length

the length of characters.

Returns
Type Description
ITextRun

A ITextRun object that represents the range of characters.