Description
The CharacterRun class allows you to set a font on a specified range of characters within a ChartText object or a cell. To return a CharacterRun object, use Cell.GetCharacters() or ChartText.GetCharacters().
Signature: C#
Signature: VB.NET
Examples
C#
vb.net
Properties
| Name | Description |
|---|---|
| Font | Sets or returns the font for the CharacterRun. |
| Length | Returns the length - in characters - of the CharacterRun. |
| StartIndex | Returns the 0-based index of the first character in the CharacterRun. |
Methods
| Name | Description |
|---|---|
| Clear() | Sets the font of the CharacterRun to the main font of the cell or ChartText object. |