---
title: "CustomFormatReader..::.GetEmptyFrame Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_CustomFormatReader_GetEmptyFrame.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/)

# CustomFormatReader.GetEmptyFrame Method 
 
Returns an empty [CustomFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_CustomFrame.htm.md) associated with this reader.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Protected Friend MustOverride Function GetEmptyFrame As CustomFrame
```
 
```csharp
protected internal abstract CustomFrame GetEmptyFrame()
```
 
### Return Value
Object of the [CustomFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_CustomFrame.htm.md) descendant class associated with this reader.
 
## Remarks
  
The implementation of this method is always simple: just return an instance of the [CustomFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_CustomFrame.htm.md) descendant implemented by you.
 
## Examples
  
```csharp
protected override CustomFrame GetEmptyFrame()
{
    return new CWFFrame();
}
```
   
## See Also

### Reference

- [CustomFormatReader Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_CustomFormatReader.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
- [Aurigma.GraphicsMill.Codecs.CustomFrame](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_CustomFrame.htm.md)
