GraphicsPathIterator.Rewind Method


Rewinds this GraphicsPathIterator to the beginning of its associated path.

 void Rewind();
public void Rewind ();
member this.Rewind : unit -> unit
Public Sub Rewind ()


The first time you call the NextSubpath method of an iterator, it gets the first figure (subpath) of that iterator's associated path. The second time, it gets the second figure, and so on. When you call the Rewind method, the sequence starts over; that is, after you call Rewind, the next call to NextSubpath gets the first figure in the path. The NextMarker and NextPathType methods behave similarly.

Applies to