## Cell.Characters method

Restituisce un oggetto Caratteri che rappresenta un intervallo di caratteri all'interno del testo della cella.

```csharp
public FontSetting Characters(int startIndex, int length)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| startIndex | Int32 | L'indice dell'inizio del carattere. |
| length | Int32 | Il numero di caratteri. |

### Valore di ritorno

Personaggi oggetto.

### Osservazioni

Questo metodo funziona solo su celle con valore stringa.

### Esempi

```csharp
[C#]
Workbook excel = new Workbook();
Cells cells = excel.Worksheets[0].Cells;
cells["A1"].PutValue("Helloworld");
cells["A1"].Characters(5, 5).Font.IsBold = true;
cells["A1"].Characters(5, 5).Font.Color = Color.Blue;

[Visual Basic]
Dim excel as Workbook = new Workbook()
Dim cells as Cells = exce.Worksheets(0).Cells
cells("A1").PutValue("Helloworld")
cells("A1").Characters(5, 5).Font.IsBold = True
cells("A1").Characters(5, 5).Font.Color = Color.Blue
```

### Guarda anche

* class [FontSetting](../../fontsetting)
* class [Cell](../../cell)
* spazio dei nomi [Aspose.Cells](../../cell)
* assemblea [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
