Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

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.

Signature
C#
C#
 public CharacterRun GetCharacters(int startIndex, int length)
Signature
vb.net
vb.net
Public Function GetCharacters(ByVal startIndex As Integer, ByVal length As Integer) As CharacterRun
Parameters
Param
startIndex
startIndex

The character position at which to begin the character run.

Param
length
length

The length of the character run.

Returns

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

Example
Code Block
csharp
csharp
titleC#
CharacterRun charRun = cellA1.GetCharacters(0, 6);
Code Block
vb.net
vb.net
titlevb.net
Dim charRun As CharacterRun = cellA1.GetCharacters(0, 6)
Scrollbar