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}{signature:
}
Signature
vb.net
vb.net
Public Function GetCharacters(ByVal startIndex As Integer, ByVal length As Integer) As CharacterRun
{signature}
{parameters}
{param:startIndex}The character position at which to begin the character run.{param}
{param:length}The length of the character run.{param}
{returns}A {{CharacterRun}} object representing a range of characters within the cell.{returns}
{example}{code:csharp|title=C#}
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} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}

Dim charRun As CharacterRun = cellA1.GetCharacters(0, 6)
{code} {example} {scrollbar}
Scrollbar