---
title: "DSReader..::.LoadCurrentFrame Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_DSReader_LoadCurrentFrame.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.LoadCurrentFrame Method 
 
Returns a current frame as an [IFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_IFrame.htm.md) object.
 
**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 LoadCurrentFrame As IFrame
```
 
```csharp
public IFrame LoadCurrentFrame()
```
 
### Return Value
A current frame as an object implementing the [IFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_IFrame.htm.md) interface.
 
### Implements
 
[IFrameEnumerator.LoadCurrentFrame()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_IFrameEnumerator_LoadCurrentFrame.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)
- [DSReader.Current](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_DSReader_Current.htm.md)
