## Graphics.MeasureCharacterRanges method

Obtient un tableau deRegion objets, chacun délimitant une plage de positions de caractères dans la chaîne spécifiée.

```csharp
public Region[] MeasureCharacterRanges(string text, Font font, RectangleF layoutRect, 
    StringFormat stringFormat)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| text | String | Corde à mesurer. |
| font | Font | Font qui définit le format de texte de la chaîne. |
| layoutRect | RectangleF | RectangleF structure qui spécifie le rectangle de mise en page pour la chaîne. |
| stringFormat | StringFormat | StringFormat qui représente les informations de mise en forme, telles que l'interligne, pour la chaîne. |

### Return_Value

Cette méthode renvoie un tableau deRegion objets, dont chacun délimite une plage de positions de caractères dans la chaîne spécifiée.

### Voir également

* class [Region](../../region)
* class [Font](../../font)
* struct [RectangleF](../../rectanglef)
* class [StringFormat](../../stringformat)
* class [Graphics](../../graphics)
* espace de noms [System.Drawing](../../graphics)
* Assemblée [Aspose.Drawing](../../../)

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