Returns a CharacterRun object representing a range of characters within the cell. Use this method to set the font on specified characters within the cell.

 public CharacterRun GetCharacters(int startIndex, int length)
Public Function GetCharacters(ByVal startIndex As Integer, ByVal length As Integer) As CharacterRun

The character position at which to begin the character run.

The length of the character run.

A CharacterRun object representing a range of characters within the cell.

CharacterRun charRun = cellA1.GetCharacters(0, 6);
Dim charRun As CharacterRun = cellA1.GetCharacters(0, 6)