PdfToImageConverter Class

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

SystemObject
  NReco.PdfRendererPdfToImageConverter

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

public class PdfToImageConverter

The PdfToImageConverter type exposes the following members.

Constructors

  NameDescription
Public methodPdfToImageConverter
Create new instance of HtmlToPdfConverter
Top
Properties

  NameDescription
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
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGenerateImage(Stream, Int32)
Generate image by specifed PDF file.
Public methodGenerateImage(String, Int32)
Generate image by specifed PDF file.
Public methodGenerateImage(Stream, Int32, ImageFormat, Stream)
Generate image by specifed PDF Stream and write output to the specified output stream.
Public methodGenerateImage(Stream, Int32, ImageFormat, String)
Generate image by specifed PDF file and write output in PNG format to the specified output stream.
Public methodGenerateImage(String, Int32, ImageFormat, Stream)
Generate image by specifed PDF file and write output 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(Stream, ImageFormat, String)
Generate images for all pages of the PDF content stream and write output to the specified folder.
Public methodGenerateImages(String, ImageFormat, String)
Generate images for all pages of the specifed PDF file and write output to the specified folder.
Public methodGenerateImages(Stream, Int32, Int32, ImageFormat, String)
Generate images by specifed PDF content stream pages range 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 to the specified folder.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Events

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

Reference