Aspose::Pdf::Devices::PngDevice class
Contents
[
Hide
]PngDevice class
Represents image device that helps to save pdf document pages into png.
class PngDevice : public Aspose::Pdf::Devices::ImageDevice
Methods
Method | Description |
---|---|
get_CoordinateType() const | Gets the page coordinate type (Media/Crop boxes). CropBox value is used by default. |
get_FormPresentationMode() const | Gets form presentation mode. |
get_Height() const | Gets image output height. |
get_RenderingOptions() const | Gets rendering options. |
get_Resolution() const | Gets image resolution. |
get_TransparentBackground() const | Gets if image has transparent background. |
get_Width() const | Gets image output width. |
ImageDevice() | Abstract initializer for ImageDevice descendants, set resolution to 150x150. |
ImageDevice(System::SharedPtr<Aspose::Pdf::Devices::Resolution>) | Abstract initializer for ImageDevice descendants. |
ImageDevice(int32_t, int32_t) | Initializes a new instance of the JpegDevice class with provided image dimensions and default resolution (=150). |
ImageDevice(System::SharedPtr<PageSize>) | Initializes a new instance of the JpegDevice class with provided image dimensions and default resolution (=150). |
ImageDevice(int32_t, int32_t, System::SharedPtr<Aspose::Pdf::Devices::Resolution>) | Initializes a new instance of the JpegDevice class with provided image dimensions and resolution. |
ImageDevice(System::SharedPtr<PageSize>, System::SharedPtr<Aspose::Pdf::Devices::Resolution>) | Initializes a new instance of the JpegDevice class with provided image dimensions and resolution. |
PngDevice() | Initializes a new instance of the PngDevice class with default resolution. |
PngDevice(System::SharedPtr<Aspose::Pdf::Devices::Resolution>) | Initializes a new instance of the PngDevice class. |
PngDevice(int32_t, int32_t, System::SharedPtr<Aspose::Pdf::Devices::Resolution>) | Initializes a new instance of the PngDevice class with provided image dimensions and resolution. |
PngDevice(System::SharedPtr<PageSize>, System::SharedPtr<Aspose::Pdf::Devices::Resolution>) | Initializes a new instance of the PngDevice class with provided page size and resolution. |
PngDevice(int32_t, int32_t) | Initializes a new instance of the PngDevice class with provided image dimensions, default resolution (=150). |
PngDevice(System::SharedPtr<PageSize>) | Initializes a new instance of the PngDevice class with provided page size, default resolution (=150). |
Process(System::SharedPtr<Page>, System::SharedPtr<System::IO::Stream>) override | Converts the page into png and saves it in the output stream. |
Process(System::SharedPtr<Page>, System::String) | Perfoms some operation on the given page and saves results into the file. |
set_CoordinateType(PageCoordinateType) | Sets the page coordinate type (Media/Crop boxes). CropBox value is used by default. |
set_FormPresentationMode(Aspose::Pdf::Devices::FormPresentationMode) | Sets form presentation mode. |
set_RenderingOptions(System::SharedPtr<Aspose::Pdf::RenderingOptions>) | Sets rendering options. |
set_TransparentBackground(bool) | Sets if image has transparent background. |
See Also
- Class ImageDevice
- Namespace Aspose::Pdf::Devices
- Library Aspose.PDF for C++