---
title: "IFrame Interface"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_IFrame.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/)

# IFrame Interface
 
This interface is implemented by objects which represents media formats frames.
 
**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 Interface IFrame _Implements IDisposable
```
 
```csharp
public interface IFrame : IDisposable
```
 
## Remarks
  
In general, frames stores the following information:
 
- Bitmap. You can get it using [GetBitmap(Bitmap)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_IFrame_GetBitmap_1_fd4033ef.htm.md) method. You can also receive its thumbnail using [GetThumbnail(Bitmap, Int32, Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_IFrame_GetThumbnail_3_90f33463.htm.md) method (it will work much faster than receiving thumbnail and then resizing it, because it will be done "on-the-fly").
- Bitmap characteristics such as [Width](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_IFrame_Width.htm.md), [Height](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_IFrame_Height.htm.md), and [PixelFormat](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_IFrame_PixelFormat.htm.md). These properties will extract these data without loading entire bitmap into memory, so it works extremely fast.
- Frame position relatively entire file "canvas" ([Left](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_IFrame_Left.htm.md) and [Top](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_IFrame_Top.htm.md) properties). As this "canvas" defined not for all the formats, these values are meaningless for such formats. In this case they are always equal to 0.

**Note** 
These data are read from file only once. After you read some property, it is cached and next time it returns pre-loaded data.
 
## Object Model

[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill_ObjectModel_22.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_IFrame.htm.md)
![](https://www.graphicsmill.com/docs/gm5/ObjectModel1.png)[![](https://www.graphicsmill.com/docs/gm5/Aurigma.GraphicsMill_ObjectModel_14.png)](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_ColorProfile.htm.md)
  
## See Also

### Reference

- [IFrame Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_Codecs_IFrame.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
