See Also

IRange Interface  | IRange Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

start
The zero based starting character.
length
The number of characters.
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

GetCharacters Method

SpreadsheetGear Namespace > IRange Interface : GetCharacters Method (IRange)

Returns an instance of ICharacters which represents a range of characters belonging to a text cell.

[Visual Basic]
Overridable Function GetCharacters( _    ByVal start As Integer, _    ByVal length As Integer _ ) As ICharacters
[C#]
virtual ICharacters GetCharacters(    int start,    int length );
[C++]
virtual ICharacters* GetCharacters(    int start,    int length )
[C++/CLI]
virtual ICharacters^ GetCharacters(    int start,    int length )

Parameters

start
The zero based starting character.
length
The number of characters.

Return Type

An instance of ICharacters which represents a range of characters belonging to a text cell.

Remarks

Use this method to richly format the text in a cell with multiple fonts.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IRange Interface  | IRange Members

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.