---
title: "CustomFormatReader..::.LoadFrameParameters Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Codecs_CustomFormatReader_LoadFrameParameters.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.LoadFrameParameters Method 
 
Loads frame parameters.
 
**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 Sub LoadFrameParameters
```
 
```csharp
protected internal abstract void LoadFrameParameters()
```
 
## Examples
  
```csharp
protected override void LoadFrameParameters()
{
    //Get the frame object (the frame currently being loaded)
    CustomFrame frame = (CustomFrame)base.GetLoadingFrame();
    
    //Initialize the frame with your settings
    //You do not have to override the InitializeCustomFrameTU method
    frame.InitializeCustomFrameTU(null, 0, 0, _width, _height,
        Aurigma.GraphicsMill.PixelFormat.Format1bppIndexed, 72.0f, 72.0f, null);
}
```
   
## 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)
