Aspose::Pdf::Facades::PdfConverter class
Contents
[
Hide
]PdfConverter class
Represents a class to convert a pdf file’s each page to images, supporting BMP, JPEG, PNG and TIFF now. Supported content in pdfs: pictures, form, comment.
class PdfConverter : public Aspose::Pdf::Facades::Facade
Methods
Method | Description |
---|---|
BindPdf(System::String) override | Binds a Pdf file for converting. |
BindPdf(System::SharedPtr<System::IO::Stream>) override | Binds a Pdf Stream for convert. |
BindPdf(System::SharedPtr<Aspose::Pdf::Document>) override | Initializes the facade. |
virtual BindPdf(System::SharedPtr<Document>) | Binds PDF document for editing. |
Close() override | Close the instance of PdfConverter and release the resources. |
Dispose() override | Disposes the facade. |
DoConvert() | Do some initial works for converting a pdf document to images. |
get_CoordinateType() const | Gets the page coordinate type (Media/Crop boxes). CropBox value is used by default. |
get_Document() const | Gets the document facade is working on. |
get_EndPage() | Gets end position which you want to convert. |
get_FormPresentationMode() const | Gets form presentation mode. |
get_PageCount() | Gets the page count. |
get_Password() const | Gets document OwnerPassword. |
get_RenderingOptions() const | Gets rendering options. |
get_Resolution() const | Gets resolution during convertting. The higher resolution, the slower convertting speed. The default value is 150. |
get_ShowHiddenAreas() const | Gets flag that controls visibility of hidden areas on the page. |
get_StartPage() const | Gets start position which you want to convert. The minimal value is 1. |
get_UserPassword() const | Gets document UserPassword. |
GetNextImage(System::String) | Saves image to file with default image format - jpeg. |
GetNextImage(System::String, System::SharedPtr<PageSize>) | Saves image to file with ith given page size and default image format - jpeg. |
GetNextImage(System::String, System::SharedPtr<System::Drawing::Imaging::ImageFormat>) | Saves image to file with the givin image format. |
GetNextImage(System::String, System::SharedPtr<PageSize>, System::SharedPtr<System::Drawing::Imaging::ImageFormat>) | Saves image to file with given page size and image format. |
GetNextImage(System::SharedPtr<System::IO::Stream>) | Saves image to stream with default image format - jpeg. |
GetNextImage(System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>) | Saves image to stream with given page size. |
GetNextImage(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::Drawing::Imaging::ImageFormat>) | Saves image to stream with given image format. |
GetNextImage(System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>, System::SharedPtr<System::Drawing::Imaging::ImageFormat>) | Saves image to stream with given page size. |
GetNextImage(System::String, System::SharedPtr<System::Drawing::Imaging::ImageFormat>, int32_t, int32_t, int32_t) | Saves image to file with the given image format, dimensions and quality. |
GetNextImage(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::Drawing::Imaging::ImageFormat>, int32_t, int32_t, int32_t) | Saves image to stream with the givin image format, dimensions and quality. |
GetNextImage(System::String, System::SharedPtr<System::Drawing::Imaging::ImageFormat>, double, double, int32_t) | Saves image to file with the givin image format, image size, and quality. |
GetNextImage(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::Drawing::Imaging::ImageFormat>, double, double, int32_t) | Saves image to stream with the givin image format, size and quality. |
GetNextImage(System::String, System::SharedPtr<System::Drawing::Imaging::ImageFormat>, int32_t, int32_t) | Saves image to file with the given image format and dimensions. |
GetNextImage(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::Drawing::Imaging::ImageFormat>, int32_t, int32_t) | Saves image to stream with the givin image format, size and quality. |
GetNextImage(System::SharedPtr<System::IO::Stream>, System::SharedPtr<System::Drawing::Imaging::ImageFormat>, int32_t) | Saves image to stream with given image format and quality. |
GetNextImage(System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>, System::SharedPtr<System::Drawing::Imaging::ImageFormat>, int32_t) | Saves image to stream with given page size, image format and quality. |
GetNextImage(System::String, System::SharedPtr<System::Drawing::Imaging::ImageFormat>, int32_t) | Saves image to file with given image format and quality. |
GetNextImage(System::String, System::SharedPtr<PageSize>, System::SharedPtr<System::Drawing::Imaging::ImageFormat>, int32_t) | Saves image to file with given page size, image format and quality. |
HasNextImage() | Indicates whether the pdf file has more images or not. |
static MergeImages(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::IO::Stream>>>, Aspose::Pdf::Drawing::ImageFormat, ImageMergeMode, System::Nullable<int32_t>, System::Nullable<int32_t>) | Merges list of image streams as one image stream. Png/jpg/tiff outputs formats are supported, in case of using non supported format output stream encoded as Jpeg by default. |
static MergeImagesAsTiff(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<System::IO::Stream>>>) | Merges list of tiff streams as one multiple frames tiff stream. |
PdfConverter() | Initializes new PdfConverter object. |
PdfConverter(System::SharedPtr<Aspose::Pdf::Document>) | Initializes new PdfConverter object on base of the document . |
SaveAsTIFF(System::String) | Converts each pages of a pdf document to images and saves images to a single TIFF file. |
SaveAsTIFF(System::String, Aspose::Pdf::Devices::CompressionType) | Converts each pages of a pdf document to images and saves images to a single TIFF file. |
SaveAsTIFF(System::String, int32_t, int32_t) | Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file. |
SaveAsTIFF(System::String, System::SharedPtr<PageSize>) | Converts each pages of a pdf document to images with page size and saves images to a single TIFF file. |
SaveAsTIFF(System::String, System::SharedPtr<PageSize>, System::SharedPtr<Aspose::Pdf::Devices::TiffSettings>) | Converts each pages of a pdf document to images with page size and saves images to a single TIFF file. |
SaveAsTIFF(System::String, int32_t, int32_t, Aspose::Pdf::Devices::CompressionType) | Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file. |
SaveAsTIFF(System::String, int32_t, int32_t, System::SharedPtr<Aspose::Pdf::Devices::TiffSettings>) | Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file. |
SaveAsTIFF(System::String, int32_t, int32_t, System::SharedPtr<Aspose::Pdf::Devices::TiffSettings>, System::SharedPtr<IIndexBitmapConverter>) | Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file. |
SaveAsTIFF(System::SharedPtr<System::IO::Stream>) | Converts each pages of a pdf document to images and saves images to a single TIFF stream. |
SaveAsTIFF(System::SharedPtr<System::IO::Stream>, Aspose::Pdf::Devices::CompressionType) | Converts each pages of a pdf document to images and saves images to a single TIFF file. |
SaveAsTIFF(System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>) | Converts each pages of a pdf document to images with page size and saves images to a single TIFF stream. |
SaveAsTIFF(System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>, System::SharedPtr<Aspose::Pdf::Devices::TiffSettings>) | Converts each pages of a pdf document to images with page size and saves images to a single TIFF stream. |
SaveAsTIFF(System::SharedPtr<System::IO::Stream>, int32_t, int32_t) | Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream. |
SaveAsTIFF(System::SharedPtr<System::IO::Stream>, int32_t, int32_t, Aspose::Pdf::Devices::CompressionType) | Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream. |
SaveAsTIFF(System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<Aspose::Pdf::Devices::TiffSettings>) | Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream. |
SaveAsTIFF(System::SharedPtr<System::IO::Stream>, int32_t, int32_t, System::SharedPtr<Aspose::Pdf::Devices::TiffSettings>, System::SharedPtr<IIndexBitmapConverter>) | Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream. |
SaveAsTIFF(System::String, System::SharedPtr<Aspose::Pdf::Devices::TiffSettings>) | Converts each pages of a pdf document to images with and saves images to a single TIFF file. |
SaveAsTIFF(System::String, System::SharedPtr<Aspose::Pdf::Devices::TiffSettings>, System::SharedPtr<IIndexBitmapConverter>) | Converts each pages of a pdf document to images with and saves images to a single TIFF file. |
SaveAsTIFF(System::SharedPtr<System::IO::Stream>, System::SharedPtr<Aspose::Pdf::Devices::TiffSettings>) | Converts each pages of a pdf document to images and saves images to a single TIFF stream. |
SaveAsTIFF(System::SharedPtr<System::IO::Stream>, System::SharedPtr<Aspose::Pdf::Devices::TiffSettings>, System::SharedPtr<IIndexBitmapConverter>) | Converts each pages of a pdf document to images and saves images to a single TIFF stream. |
SaveAsTIFFClassF(System::String, int32_t, int32_t) | Converts each pages of a pdf document to images and save images to a single TIFF ClassF file. |
SaveAsTIFFClassF(System::String, System::SharedPtr<PageSize>) | Converts each pages of a pdf document to images and save images to a single TIFF ClassF file. |
SaveAsTIFFClassF(System::SharedPtr<System::IO::Stream>, int32_t, int32_t) | Converts each pages of a pdf document to images and save images to a single TIFF ClassF stream. |
SaveAsTIFFClassF(System::SharedPtr<System::IO::Stream>, System::SharedPtr<PageSize>) | Converts each pages of a pdf document to images and save images to a single TIFF ClassF stream. |
SaveAsTIFFClassF(System::String) | Converts each pages of a pdf document to images and save images to a single TIFF ClassF file. |
SaveAsTIFFClassF(System::SharedPtr<System::IO::Stream>) | Converts each pages of a pdf document to images and save images to a single TIFF ClassF stream. |
set_CoordinateType(PageCoordinateType) | Sets the page coordinate type (Media/Crop boxes). CropBox value is used by default. |
set_EndPage(int32_t) | Sets end position which you want to convert. |
set_FormPresentationMode(Aspose::Pdf::Devices::FormPresentationMode) | Sets form presentation mode. |
set_Password(System::String) | Sets document OwnerPassword. |
set_RenderingOptions(System::SharedPtr<Aspose::Pdf::RenderingOptions>) | Sets rendering options. |
set_Resolution(System::SharedPtr<Aspose::Pdf::Devices::Resolution>) | Sets resolution during convertting. The higher resolution, the slower convertting speed. The default value is 150. |
set_ShowHiddenAreas(bool) | Sets flag that controls visibility of hidden areas on the page. |
set_StartPage(int32_t) | Sets start position which you want to convert. The minimal value is 1. |
set_UserPassword(System::String) | Sets document UserPassword. |
See Also
- Class Facade
- Namespace Aspose::Pdf::Facades
- Library Aspose.PDF for C++