---
title: "AviWriter..::.ResizeFrame Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviWriter_ResizeFrame.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/)

# AviWriter.ResizeFrame Property 
 
Gets/sets a value which specifies whether to resize the frame to dimensions of the writer.
 
**Namespace:** [Aurigma.GraphicsMill.Codecs](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
 **Assembly:** Aurigma.GraphicsMill.Codecs.AviProcessor (in Aurigma.GraphicsMill.Codecs.AviProcessor.dll)
 
## Syntax
  
```
Public Property ResizeFrame As Boolean
```
 
```csharp
public bool ResizeFrame { get; set; }
```
 
### Property Value
A [Boolean](http://msdn2.microsoft.com/en-us/a28wyd50) value which specifies whether to resize the frame to dimensions of the writer.
 
## Remarks
  
When the this property is set to **false**, and the frame dimensions differ from specified in the writer, it will be centered and cropped to fit these dimensions. If this value is **true**, the writer object automatically resize the frame to these dimensions. Keep in mind that AVI Processor does not attempt to preserve aspect ratio of the input frame. You should provide the resize the bitmap which represents the frame in the proper way yourself.
 
**Note** 
You should set this value **before** you open the writer object. You cannot change it when the writer is already opened!
   
## See Also

### Reference

- [AviWriter Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_AviWriter.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
- [AviWriter.Width](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviWriter_Width.htm.md)
- [AviWriter.Height](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_AviWriter_Height.htm.md)
