Forums     Knowledge Base     OfficeWriter Online     
 
This documentation is for
OfficeWriter v3.0.4
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > ExcelApplication API > Cell > GetCharacters

GetCharacters Method



Signature:

public CharacterRun GetCharacters ( int startIndex )

Description:

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

Parameters:

startIndex     The character position at which to begin the character run.

Returns:

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

Examples:

[csharp]
CharacterRun charRun = cellA1.GetCharacters(0);
[vbnet]
Dim charRun As CharacterRun = cellA1.GetCharacters(0)



Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.