---
title: "IFormatReader..::.LoadFrame Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_IFormatReader_LoadFrame_1_e1836fc4.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/)

# IFormatReader.LoadFrame Method 
 
Returns a frame with specified index. This frame contains a bitmap and possible other details describing it.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Function LoadFrame ( _index As Integer _
) As IFrame
```
 
```csharp
                IFrame LoadFrame(int index
)
```
 
### Parameters
 
 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Index of the frame. Cannot exceed value specified with [FrameCount](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_IFormatReader_FrameCount.htm.md) property.
 
### Return Value
An object which implements [IFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_IFrame.htm.md) interface and contains the data of the specified frame.
 
## Remarks
  
**Note** 
Frames loaded with this method are not cached. It means that if you load a frame with some index, do some changes in this frame, and then load this frame through this method again, all changes will be lost.
   
## See Also

### Reference

- [IFormatReader Interface](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_IFormatReader.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
