C# Class PdfFilePrinter.AcroPrint

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

Méthodes publiques

Méthode 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

Méthode Description
getExePath ( ) : string
getPrinterName ( ) : string
startAdobeProcess ( string arguments = "" ) : Process

Method Details

PrintPdfFile() public méthode

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.
Résultat void