Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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#
Wiki Markup
{description}
{excerpt}Returns a [CharacterRun|CharacterRun] object representing a range of characters within the cell. Use this method to set the font on specified characters within the cell.{excerpt}
{signature: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
Parameters

...

The character position at which to begin the character run.

...

The length of the character run.

Returns

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

{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#}
CharacterRun charRun = cellA1.GetCharacters(0, 6);
{code}
{code:vb.net
|title=vb.net
}
Dim charRun As CharacterRun = cellA1.GetCharacters(0, 6)
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle

...

{code}

{example}
{scrollbar}