
## PngOptions class

The png file format create options.



**Inheritance:** [`PngOptions`](/cad/python-net/aspose.cad.imageoptions/pngoptions) → 
[`ImageOptionsBase`](/cad/python-net/aspose.cad/imageoptionsbase)



The PngOptions type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad.imageoptions/pngoptions/__init__/#) | Initializes a new instance of the [`PngOptions`](/cad/python-net/aspose.cad.imageoptions/pngoptions) class. |
| [__init__](/cad/python-net/aspose.cad.imageoptions/pngoptions/__init__/#aspose.cad.imageoptions.PngOptions) | Initializes a new instance of the [`JpegOptions`](/cad/python-net/aspose.cad.imageoptions/jpegoptions) class. |


### Properties
| Property | Description |
| :- | :- |
| [target_format](/cad/python-net/aspose.cad.imageoptions/pngoptions/target_format) |  |
| [rotation](/cad/python-net/aspose.cad.imageoptions/pngoptions/rotation) | Gets or sets the parameter for rotate, flip, or rotate and flip the image.. |
| [layers](/cad/python-net/aspose.cad.imageoptions/pngoptions/layers) | Gets or sets a of layer names must be exported.<br/>All data will be exported without layers if names is not sets. |
| [xmp_data](/cad/python-net/aspose.cad.imageoptions/pngoptions/xmp_data) | Gets or sets the XMP metadata container. |
| [source](/cad/python-net/aspose.cad.imageoptions/pngoptions/source) | Gets or sets the source to create image in. |
| [palette](/cad/python-net/aspose.cad.imageoptions/pngoptions/palette) | Gets or sets the color palette. |
| [resolution_settings](/cad/python-net/aspose.cad.imageoptions/pngoptions/resolution_settings) | Gets or sets the resolution settings. |
| [vector_rasterization_options](/cad/python-net/aspose.cad.imageoptions/pngoptions/vector_rasterization_options) | Gets or sets the vector rasterization options. |
| [timeout](/cad/python-net/aspose.cad.imageoptions/pngoptions/timeout) | Timeout value for export operation (in milliseconds) |
| [pc_3_file](/cad/python-net/aspose.cad.imageoptions/pngoptions/pc_3_file) | Gets or sets the PC3 file full name. |
| [user_watermark_text](/cad/python-net/aspose.cad.imageoptions/pngoptions/user_watermark_text) | Text for user-generated watermark |
| [user_watermark_color](/cad/python-net/aspose.cad.imageoptions/pngoptions/user_watermark_color) | Color for user-generated watermark |
| [color_type](/cad/python-net/aspose.cad.imageoptions/pngoptions/color_type) | Gets or sets the type of the color. |
| [progressive](/cad/python-net/aspose.cad.imageoptions/pngoptions/progressive) | Gets or sets a value indicating whether this [`PngOptions`](/cad/python-net/aspose.cad.imageoptions/pngoptions) is progressive. |
| [filter_type](/cad/python-net/aspose.cad.imageoptions/pngoptions/filter_type) | Gets or sets the filter type used during png file save process. |
| [compression_level](/cad/python-net/aspose.cad.imageoptions/pngoptions/compression_level) | The png image compression level in the 0-9 range, where 9 is maximum compression and 0 is store mode. |
| [bit_depth](/cad/python-net/aspose.cad.imageoptions/pngoptions/bit_depth) | The bit depth. |



### See Also
* module [`aspose.cad.imageoptions`](..)
* class [`ImageOptionsBase`](/cad/python-net/aspose.cad/imageoptionsbase)
* class [`JpegOptions`](/cad/python-net/aspose.cad.imageoptions/jpegoptions)
* class [`PngOptions`](/cad/python-net/aspose.cad.imageoptions/pngoptions)
