Prints the PDF file
Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax
public PdfPrintStatus Print( string fileName, PrinterSettings printerSettings, bool renderBeforePrint )
Parameters
- fileName
- Type: SystemString
PDF file name - printerSettings
- Type: System.Drawing.PrintingPrinterSettings
Printer settings - renderBeforePrint
- Type: SystemBoolean
Document will be rendered before printing. From version 2.9.7.3 this parameter is ignored.
Return Value
Type: PdfPrintStatusStatus - in case of an unexpected error it throws an exception.
See Also