---
title: "FormatReader..::.GetEnumerator Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_FormatReader_GetEnumerator.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# FormatReader.GetEnumerator Method 
 
Returns an enumerator for the frames allowing the writer to be used in **foreach** blocks.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Overridable Function GetEnumerator As IEnumerator
```
 
```csharp
public virtual IEnumerator GetEnumerator()
```
 
### Return Value
Enumerator that implements [System.Collections.IEnumerator](http://msdn2.microsoft.com/en-us/1t2267t6) interface.
   
## See Also

### Reference

- [FormatReader Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_FormatReader.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
