|
Programmer's Reference >
ExcelApplication API >
Cell > GetCharacters
GetCharacters Method
Signature:
public CharacterRun GetCharacters ( int startIndex
, int length
)
Description:
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.
Parameters:
|
startIndex |
The character position at which to begin the character run. |
|
length |
The length of the character run. |
Returns:
CharacterRun
A CharacterRun object representing a range of characters within the cell.
Examples:
[csharp]
CharacterRun charRun = cellA1.GetCharacters(0, 6);
[vbnet]
Dim charRun As CharacterRun = cellA1.GetCharacters(0, 6)
Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.
|
|
|