---
title: "PngEncoderOptions Constructor (Boolean)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Codecs_PngEncoderOptions_ctor_1_fcf0588e.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/)

# PngEncoderOptions Constructor (Boolean)
 
Creates and initializes [PngEncoderOptions](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_PngEncoderOptions.htm.md) class instance. You can specify if to make PNG interlaced here.
 
**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 Sub New ( _interlaced As Boolean _
)
```
 
```csharp
public PngEncoderOptions(bool interlaced
)
```
 
### Parameters
 
 - interlaced
     - Type: [System.Boolean](http://msdn2.microsoft.com/en-us/a28wyd50)
Value that specifies if the PNG file should be interlaced. You can change it later through [Interlaced](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Codecs_PngEncoderOptions_Interlaced.htm.md) property.
   
## See Also

### Reference

- [PngEncoderOptions Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Codecs_PngEncoderOptions.htm.md)
- [PngEncoderOptions Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Codecs_PngEncoderOptions_ctor.htm.md)
- [Aurigma.GraphicsMill.Codecs Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Codecs.htm.md)
