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.
Inheritance Hierarchy

Namespace: Aspose.Pdf.Facades
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.12
Syntax
public sealed class PdfConverter : Facade

The PdfConverter type exposes the following members.

Constructors
  NameDescription
Public methodPdfConverter
Initializes new PdfConverter object.
Public methodPdfConverter(Document)
Initializes new PdfConverter object on base of the document.
Properties
  NameDescription
Public propertyCoordinateType
Gets or sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
Public propertyDocument
Gets the document facade is working on.
(Inherited from Facade.)
Public propertyEndPage
Gets or sets end position which you want to convert.
Public propertyFormPresentationMode
Gets or sets form presentation mode.
Public propertyPageCount
Gets the page count.
Public propertyPassword
Gets or sets document OwnerPassword.
Public propertyRenderingOptions
Gets or sets rendering options.
Public propertyResolution
Gets or sets resolution during convertting. The higher resolution, the slower convertting speed. The default value is 150.
Public propertyShowHiddenAreas Obsolete.
Gets or sets flag that controls visibility of hidden areas on the page.
Public propertyStartPage
Gets or sets start position which you want to convert. The minimal value is 1.
Public propertyUserPassword
Gets or sets document UserPassword.
Methods
  NameDescription
Public methodBindPdf(Stream)
Binds a Pdf Stream for convert.
(Overrides FacadeBindPdf(Stream).)
Public methodBindPdf(String)
Binds a Pdf file for converting.
(Overrides FacadeBindPdf(String).)
Public methodBindPdf(Document)
Initializes the facade.
(Inherited from Facade.)
Public methodClose
Close the instance of PdfConverter and release the resources.
(Overrides FacadeClose.)
Public methodDispose
Disposes the facade.
(Inherited from Facade.)
Public methodCode exampleDoConvert
Do some initial works for converting a pdf document to images.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetNextImage(Stream)
Saves image to stream with default image format - jpeg.
Public methodGetNextImage(String)
Saves image to file with default image format - jpeg.
Public methodGetNextImage(Stream, PageSize)
Saves image to stream with given page size.
Public methodGetNextImage(Stream, ImageFormat)
Saves image to stream with given image format.
Public methodGetNextImage(String, PageSize)
Saves image to file with ith given page size and default image format - jpeg.
Public methodCode exampleGetNextImage(String, ImageFormat)
Saves image to file with the givin image format.
Public methodGetNextImage(Stream, PageSize, ImageFormat)
Saves image to stream with given page size.
Public methodGetNextImage(Stream, ImageFormat, Int32)
Saves image to stream with given image format and quality.
Public methodGetNextImage(String, PageSize, ImageFormat)
Saves image to file with given page size and image format.
Public methodGetNextImage(String, ImageFormat, Int32)
Saves image to file with given image format and quality.
Public methodGetNextImage(Stream, PageSize, ImageFormat, Int32)
Saves image to stream with given page size, image format and quality.
Public methodGetNextImage(Stream, ImageFormat, Int32, Int32)
Saves image to stream with the givin image format, size and quality.
Public methodGetNextImage(String, PageSize, ImageFormat, Int32)
Saves image to file with given page size, image format and quality.
Public methodCode exampleGetNextImage(String, ImageFormat, Int32, Int32)
Saves image to file with the given image format and dimensions.
Public methodGetNextImage(Stream, ImageFormat, Double, Double, Int32)
Saves image to stream with the givin image format, size and quality.
Public methodGetNextImage(Stream, ImageFormat, Int32, Int32, Int32)
Saves image to stream with the givin image format, dimensions and quality.
Public methodCode exampleGetNextImage(String, ImageFormat, Double, Double, Int32)
Saves image to file with the givin image format, image size, and quality.
Public methodCode exampleGetNextImage(String, ImageFormat, Int32, Int32, Int32)
Saves image to file with the given image format, dimensions and quality.
Public methodGetType (Inherited from Object.)
Public methodHasNextImage
Indicates whether the pdf file has more images or not.
Public methodSaveAsTIFF(Stream)
Converts each pages of a pdf document to images and saves images to a single TIFF stream.
Public methodCode exampleSaveAsTIFF(String)
Converts each pages of a pdf document to images and saves images to a single TIFF file.
Public methodSaveAsTIFF(Stream, CompressionType)
Converts each pages of a pdf document to images and saves images to a single TIFF file.
Public methodSaveAsTIFF(Stream, TiffSettings)
Converts each pages of a pdf document to images and saves images to a single TIFF stream.
Public methodSaveAsTIFF(Stream, PageSize)
Converts each pages of a pdf document to images with page size and saves images to a single TIFF stream.
Public methodCode exampleSaveAsTIFF(String, CompressionType)
Converts each pages of a pdf document to images and saves images to a single TIFF file.
Public methodSaveAsTIFF(String, TiffSettings)
Converts each pages of a pdf document to images with and saves images to a single TIFF file.
Public methodSaveAsTIFF(String, PageSize)
Converts each pages of a pdf document to images with page size and saves images to a single TIFF file.
Public methodSaveAsTIFF(Stream, TiffSettings, IIndexBitmapConverter)
Converts each pages of a pdf document to images and saves images to a single TIFF stream.
Public methodSaveAsTIFF(Stream, PageSize, TiffSettings)
Converts each pages of a pdf document to images with page size and saves images to a single TIFF stream.
Public methodSaveAsTIFF(Stream, Int32, Int32)
Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream.
Public methodSaveAsTIFF(String, TiffSettings, IIndexBitmapConverter)
Converts each pages of a pdf document to images with and saves images to a single TIFF file.
Public methodSaveAsTIFF(String, PageSize, TiffSettings)
Converts each pages of a pdf document to images with page size and saves images to a single TIFF file.
Public methodSaveAsTIFF(String, Int32, Int32)
Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file.
Public methodSaveAsTIFF(Stream, Int32, Int32, CompressionType)
Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream.
Public methodSaveAsTIFF(Stream, Int32, Int32, TiffSettings)
Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream.
Public methodSaveAsTIFF(String, Int32, Int32, CompressionType)
Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file.
Public methodSaveAsTIFF(String, Int32, Int32, TiffSettings)
Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file.
Public methodSaveAsTIFF(Stream, Int32, Int32, TiffSettings, IIndexBitmapConverter)
Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF stream.
Public methodSaveAsTIFF(String, Int32, Int32, TiffSettings, IIndexBitmapConverter)
Converts each pages of a pdf document to images with dimensions, and saves images to a single TIFF file.
Public methodSaveAsTIFFClassF(Stream)
Converts each pages of a pdf document to images and save images to a single TIFF ClassF stream.
Public methodCode exampleSaveAsTIFFClassF(String)
Converts each pages of a pdf document to images and save images to a single TIFF ClassF file.
Public methodSaveAsTIFFClassF(Stream, PageSize)
Converts each pages of a pdf document to images and save images to a single TIFF ClassF stream.
Public methodSaveAsTIFFClassF(String, PageSize)
Converts each pages of a pdf document to images and save images to a single TIFF ClassF file.
Public methodSaveAsTIFFClassF(Stream, Int32, Int32)
Converts each pages of a pdf document to images and save images to a single TIFF ClassF stream.
Public methodCode exampleSaveAsTIFFClassF(String, Int32, Int32)
Converts each pages of a pdf document to images and save images to a single TIFF ClassF file.
Public methodToString (Inherited from Object.)
See Also