PdfToImageConverter Class

NReco.PdfRenderer Class Library Documentation
PDF to Image converter (wrapper for poppler command line tool)
Inheritance Hierarchy


Namespace:  NReco.PdfRenderer
Assembly:  NReco.PdfRenderer (in NReco.PdfRenderer.dll) Version: (

public class PdfToImageConverter

The PdfToImageConverter type exposes the following members.


Public methodPdfToImageConverter
Create new instance of HtmlToPdfConverter

Public propertyCustomArgs
Gets or sets any additional command line arguments.
Public propertyDpi
Gets or sets resolution (DPI).
Public propertyEnableAntiAliasing
Gets or sets anti-aliasing flag.
Public propertyEnableVectorAntiAliasing
Gets or sets vector anti-aliasing flag.
Public propertyExecutionTimeout
Get or set maximum execution time for running poppler process (null is by default = no timeout)
Public propertyProcessPriority
Gest or sets poppler tool process priority (Normal by default)
Public propertyScaleTo
Scale to specified value x*y box.
Public propertyTempFilesPath
Get or set location for temp files (if not specified location returned by GetTempPath is used for temp files)
Public propertyToolExeName
Gets or sets poppler tool file name ('pdftoppm.exe' by default)
Public propertyToolPath
Gets or sets path where poppler tool is located

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGenerateImage(String, Int32)
Generate image by specifed PDF file.
Public methodGenerateImage(String, Int32, ImageFormat, Stream)
Generate image by specifed PDF file and write output in PNG format to the specified output stream.
Public methodGenerateImage(String, Int32, ImageFormat, String)
Generate image by specifed PDF file and write output in PNG format to the specified output stream.
Public methodGenerateImages(String, ImageFormat, String)
Generate images for all pages of the specifed PDF file and write output to the specified folder.
Public methodGenerateImages(String, Int32, Int32, ImageFormat, String)
Generate images by specifed PDF file pages range and write output in PNG format to the specified output stream.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Public eventLogReceived
Occurs when console log line is received from poppler process.
See Also