SpreadsheetGear 2017
GetCharacters Method (IRange)






SpreadsheetGear Namespace > IRange Interface : GetCharacters Method
The zero based starting character.
The number of characters.
Returns an instance of ICharacters which represents a range of characters belonging to a text cell.
Syntax
'Declaration
 
Function GetCharacters( _
   ByVal start As System.Integer, _
   ByVal length As System.Integer _
) As ICharacters
'Usage
 
Dim instance As IRange
Dim start As System.Integer
Dim length As System.Integer
Dim value As ICharacters
 
value = instance.GetCharacters(start, length)
ICharacters GetCharacters( 
   System.int start,
   System.int length
)
function GetCharacters( 
    start: System.Integer;
    length: System.Integer
): ICharacters; 
function GetCharacters( 
   start : System.int,
   length : System.int
) : ICharacters;
ICharacters* GetCharacters( 
   System.int start,
   System.int length
) 
ICharacters^ GetCharacters( 
   System.int start,
   System.int length
) 

Parameters

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

Return Value

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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IRange Interface
IRange Members