---
title: "DSReader..::.LoadNextFrame Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_DSReader_LoadNextFrame.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/)

# DSReader.LoadNextFrame Method 
 
Moves to the next frame in a sequence.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill.Codecs.MediaProcessor (in Aurigma.GraphicsMill.Codecs.MediaProcessor.dll)
 
## Syntax
  
```
Public Function LoadNextFrame As IFrame
```
 
```csharp
public IFrame LoadNextFrame()
```
 
### Return Value
The next frame in a sequence as an object implementing the [IFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_IFrame.htm.md) interface. If to try to load a frame after the end of a movie, **null** is returned.
 
### Implements
 
[IFrameEnumerator.LoadNextFrame()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_IFrameEnumerator_LoadNextFrame.htm.md)
 
## Remarks
  
This property is used when one cannot get the frame by index and have to iterate through all frames of the movie.
   
## See Also

### Reference

- [DSReader Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_DSReader.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
