## NextSubpath(out int, out int, out bool) {#nextsubpath}

Déplace le[`GraphicsPathIterator`](../../graphicspathiterator) au sous-chemin suivant dans le chemin. L'index de début et l'index de fin du sous-chemin suivant sont contenus dans les paramètres [out].

```csharp
public int NextSubpath(out int startIndex, out int endIndex, out bool isClosed)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| startIndex | Int32& | [out] Reçoit l'index de départ du sous-chemin suivant. |
| endIndex | Int32& | [out] Reçoit l'index de fin du sous-chemin suivant. |
| isClosed | Boolean& | [out] Indique si le sous-chemin est fermé. |

### Return_Value

Le nombre de points de données dans la figure récupérée (sous-chemin). S'il n'y a plus de chiffres à récupérer, zéro est renvoyé.

### Voir également

* class [GraphicsPathIterator](../../graphicspathiterator)
* espace de noms [System.Drawing.Drawing2D](../../graphicspathiterator)
* Assemblée [Aspose.Drawing](../../../)

---

## NextSubpath(GraphicsPath, out bool) {#nextsubpath_1}

Obtient le chiffre suivant (sous-chemin) à partir du chemin associé de ce[`GraphicsPathIterator`](../../graphicspathiterator) .

```csharp
public int NextSubpath(GraphicsPath path, out bool isClosed)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| path | GraphicsPath | UN[`GraphicsPath`](../../graphicspath) c'est-à-dire que ses points de données correspondent aux points de données de la figure récupérée (sous-chemin) pour cet itérateur. |
| isClosed | Boolean& | [out] Indique si le sous-chemin actuel est fermé. Elle est vraie si la figure est fermée, sinon elle est fausse. |

### Return_Value

Le nombre de points de données dans la figure récupérée (sous-chemin). S'il n'y a plus de chiffres à récupérer, zéro est renvoyé.

### Voir également

* class [GraphicsPath](../../graphicspath)
* class [GraphicsPathIterator](../../graphicspathiterator)
* espace de noms [System.Drawing.Drawing2D](../../graphicspathiterator)
* Assemblée [Aspose.Drawing](../../../)

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