PdfDocumentPrintToFile Method

Overload List
  NameDescription
Public methodPrintToFile(String, Boolean)
Prints this PDF by sending it to the computer's printer.

For advanced real-world printing options please see overloads GetPrintDocument.

the file path, when printing to a file, set or an empty string ("") for printing output is sent to a port instead of the filePath. The default value is .if print preview dialogs will be displayed to the user. Default value is .
Public methodPrintToFile(Int32, String, Boolean)
Prints this PDF by sending it to the computer's printer.

For advanced real-world printing options please see overloads of this method and also GetPrintDocument.

the horizontal and vertical PDF resolutions, in dots per inch. if -1 print with default printer resolution. Default value is -1.the file path, when printing to a file, set or an empty string ("") for printing output is sent to a port instead of the filePath. The default value is .if print preview dialogs will be displayed to the user. Default value is .
Top
See Also
Install with Nuget