Prints the PDF file
Namespace: PdfPrintingNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
public PdfPrint. Status Print( string fileName, PrinterSettings printerSettings, string password, PdfWatermark watermark, string printerJobName )
Parameters
- fileName
- Type: System.String
PDF file name - printerSettings
- Type: System.Drawing.Printing.PrinterSettings
Printer settings - password
- Type: System.String
Password - pdf file password - watermark
- Type: PdfPrintingNet.PdfWatermark
PdfWatermark to be displayed on printed page. - printerJobName
- Type: System.String
Printer job name
Return Value
Type: PdfPrint.StatusStatus - in case of an unexpected error it throws an exception.
See Also