Click or drag to resize

PdfToImageConverter Methods

The PdfToImageConverter type exposes the following members.

Methods
 NameDescription
Public methodClose Releases the PDF document read by the last call. The object can be used again afterwards.
Public methodConvertPageToImage(Stream, Int32) Converts one page of the specified PDF stream to an image, at the resolution given by the Resolution property.
Public methodConvertPageToImage(String, Int32) Converts one page of the specified PDF file to an image, at the resolution given by the Resolution property.
Public methodConvertPageToImageBytes(Stream, Int32, ImageFormat) Converts one page of the specified PDF stream to an image file in memory, at the resolution given by the Resolution property.
Public methodConvertPageToImageBytes(String, Int32, ImageFormat) Converts one page of the specified PDF file to an image file in memory, at the resolution given by the Resolution property.
Public methodConvertToImages(Stream) Convert to images the PDF pages from the specified PDF stream.
Public methodConvertToImages(String) Convert to images the PDF pages from the specified PDF file.
Public methodConvertToImagesInFolder(Stream) Convert to images the PDF pages from the specified PDF stream. The images will be saved into the folder specified by ImagesPath property, in the format specified by ImagesFormat property.
Public methodConvertToImagesInFolder(String) Convert to images the PDF pages from the specified PDF file. The images will be saved into the folder specified by ImagesPath property, in the format specified by ImagesFormat property.
Public methodConvertToThumbnails(Stream, Int32, Int32) Converts the PDF pages from the specified PDF stream to thumbnails: images that fit in a box of the specified size, keeping the aspect ratio of each page.
Public methodConvertToThumbnails(String, Int32, Int32) Converts the PDF pages from the specified PDF file to thumbnails: images that fit in a box of the specified size, keeping the aspect ratio of each page.
Public methodConvertToTiff(Stream) Converts the PDF pages from the specified PDF stream to a multi-page (multi frame) TIFF image.
Public methodConvertToTiff(String) Converts the PDF pages from the specified PDF file to a multi-page (multi frame) TIFF image.
Public methodConvertToTiffInFolder(Stream) Converts the PDF pages from the specified PDF stream to a multi-page TIFF image saved into the folder specified by the ImagesPath property, as <ImagesPrefix>.tiff.
Public methodConvertToTiffInFolder(String) Converts the PDF pages from the specified PDF file to a multi-page TIFF image saved into the folder specified by the ImagesPath property, as <ImagesPrefix>.tiff.
Public methodDispose Releases the PDF document read by the last call; the same as Close. Use the object in a using block.
Public methodGetPageCount(Stream) Gets the number of pages in the specified PDF stream.
Public methodGetPageCount(String) Gets the number of pages in the specified PDF file.
Top
See Also