A wrapper around Adobe Reader or Adobe Acrobat that helps to print PDF files. The property AdobeReaderPath must be set before the class can be used for printing. The class was tested with Adobe Reader 7.0.7. If this stuff does not work, please
don't write me mails! If you enhance this class, please let me know.
More...
|
string | PdfFileName [get, set] |
| Gets or sets the name of the PDF file to print. More...
|
|
string | PrinterName [get, set] |
| Gets or sets the name of the printer. A typical name looks like '\myserver\HP LaserJet PCL5'. More...
|
|
string | WorkingDirectory [get, set] |
| Gets or sets the working directory. More...
|
|
static string | AdobeReaderPath [get, set] |
| Gets or sets the Adobe Reader or Adobe Acrobat path. A typical name looks like 'C:\Program Files\Adobe\Adobe Reader 7.0\AcroRd32.exe'. More...
|
|
static string | DefaultPrinterName [get, set] |
| Gets or sets the name of the default printer. A typical name looks like '\myserver\HP LaserJet PCL5'. More...
|
|
A wrapper around Adobe Reader or Adobe Acrobat that helps to print PDF files. The property AdobeReaderPath must be set before the class can be used for printing. The class was tested with Adobe Reader 7.0.7. If this stuff does not work, please
don't write me mails! If you enhance this class, please let me know.
◆ PdfFilePrinter() [1/3]
PdfSharp.Pdf.Printing.PdfFilePrinter.PdfFilePrinter |
( |
| ) |
|
◆ PdfFilePrinter() [2/3]
PdfSharp.Pdf.Printing.PdfFilePrinter.PdfFilePrinter |
( |
string |
pdfFileName | ) |
|
Initializes a new instance of the PdfFilePrinter class.
- Parameters
-
pdfFileName | Name of the PDF file. |
◆ PdfFilePrinter() [3/3]
PdfSharp.Pdf.Printing.PdfFilePrinter.PdfFilePrinter |
( |
string |
pdfFileName, |
|
|
string |
printerName |
|
) |
| |
Initializes a new instance of the PdfFilePrinter class.
- Parameters
-
pdfFileName | Name of the PDF file. |
printerName | Name of the printer. |
◆ Print() [1/2]
void PdfSharp.Pdf.Printing.PdfFilePrinter.Print |
( |
| ) |
|
◆ Print() [2/2]
void PdfSharp.Pdf.Printing.PdfFilePrinter.Print |
( |
int |
milliseconds | ) |
|
Prints the PDF file.
- Parameters
-
milliseconds | The number of milliseconds to wait for completing the print job. |
◆ AdobeReaderPath
string PdfSharp.Pdf.Printing.PdfFilePrinter.AdobeReaderPath |
|
staticgetset |
Gets or sets the Adobe Reader or Adobe Acrobat path. A typical name looks like 'C:\Program Files\Adobe\Adobe Reader 7.0\AcroRd32.exe'.
◆ DefaultPrinterName
string PdfSharp.Pdf.Printing.PdfFilePrinter.DefaultPrinterName |
|
staticgetset |
Gets or sets the name of the default printer. A typical name looks like '\myserver\HP LaserJet PCL5'.
◆ PdfFileName
string PdfSharp.Pdf.Printing.PdfFilePrinter.PdfFileName |
|
getset |
Gets or sets the name of the PDF file to print.
◆ PrinterName
string PdfSharp.Pdf.Printing.PdfFilePrinter.PrinterName |
|
getset |
Gets or sets the name of the printer. A typical name looks like '\myserver\HP LaserJet PCL5'.
The name of the printer.
◆ WorkingDirectory
string PdfSharp.Pdf.Printing.PdfFilePrinter.WorkingDirectory |
|
getset |
Gets or sets the working directory.
The documentation for this class was generated from the following file: