---
title: "SwfWriter..::.Width Property "
canonical: https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_SwfWriter_Width.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/)

# SwfWriter.Width Property 
 
Gets/sets the entire SWF movie width.
 
**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 Property Width As Integer
```
 
```csharp
public int Width { get; set; }
```
 
### Property Value
The entire SWF movie width (in pixels).
 
## Remarks
  
Using Width and [Height](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_SwfWriter_Height.htm.md) properties you specify a "viewport" for the SWF file. If you put the frame which exceeds of these dimensions, it is cropped.
 
If **0** is specified, the width of the bitmap stored in the first frame will be used.
 
Default value is 0.
   
## See Also

### Reference

- [SwfWriter Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_SwfWriter.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
