C# Class PdfFilePrinter.AcroPrint

Executes the Adobe Reader and prints a file while suppressing the Acrobat print dialog box, then terminating the Reader.
Mostrar archivo Open project: VahidN/PdfReport

Public Methods

Method Description
PrintPdfFile ( int timeout = Int32.MaxValue ) : void

Executes the Adobe Reader and prints a file while suppressing the Acrobat print dialog box, then terminating the Reader.

Private Methods

Method Description
getExePath ( ) : string
getPrinterName ( ) : string
startAdobeProcess ( string arguments = "" ) : Process

Method Details

PrintPdfFile() public method

Executes the Adobe Reader and prints a file while suppressing the Acrobat print dialog box, then terminating the Reader.
public PrintPdfFile ( int timeout = Int32.MaxValue ) : void
timeout int The amount of time, in milliseconds, to wait for the associated process to exit. The maximum is the largest possible value of a 32-bit integer, which represents infinity to the operating system.
return void