PngDevice
Contents
[
Hide
]PngDevice class
Represents image device that helps to save pdf document pages into png.
The PngDevice type exposes the following members:
Constructors
| Name | Description |
|---|---|
| PngDevice() | Initializes a new instance of the PngDevice class with default resolution. |
| PngDevice(resolution) | Initializes a new instance of the PngDevice class |
| PngDevice(width, height, resolution) | Initializes a new instance of the PngDevice class |
| PngDevice(page_size, resolution) | Initializes a new instance of the PngDevice class |
| PngDevice(width, height) | Initializes a new instance of the PngDevice class |
| PngDevice(page_size) | Initializes a new instance of the PngDevice class |
Properties
| Name | Description |
|---|---|
| coordinate_type | Gets or sets the page coordinate type (Media/Crop boxes). CropBox value is used by default. |
| rendering_options | Gets or sets rendering options. |
| form_presentation_mode | Gets or sets form presentation mode. |
| resolution | Gets image resolution. |
| width | Gets image output width. |
| height | Gets image output height. |
| transparent_background | Gets or sets if image has transparent background. |
Methods
| Name | Description |
|---|---|
| process(page, output) | Converts the page into png and saves it in the output stream. |
| process(page, output_file_name) | Converts the page into png and saves it in the output stream. |
See Also
- namespace aspose.pdf.devices
- assembly Aspose.PDF