new PrintToPdfModule()
The class PrintToPdfModule.
An interface into Apryse SDKs Print To PDF functionality
Classes
Methods
-
<static> createPrintToPdfOptions()
-
Method to create a PrintToPdfOptions object
Returns:
A promise that resolves to a PDFNet.PrintToPdfModule.PrintToPdfOptions.- Type
- Promise.<PDFNet.PrintToPdfModule.PrintToPdfOptions>
-
<static> isModuleAvailable()
-
Find out whether the PrintToPdf module is available.
Returns:
A promise that resolves to returns true if PrintToPdf can be performed.- Type
- Promise.<boolean>
-
<static> printToPdf(pdf_doc, file_to_print [, options])
-
Generate a PDF file by printing a document to the Apryse PDF printer via the Windows print verb.
Parameters:
Name Type Argument Description pdf_doc
PDFNet.PDFDoc | PDFNet.SDFDoc | PDFNet.FDFDoc - The destination document. file_to_print
string - The source document filename. options
PDFNet.PrintToPdfModule.PrintToPdfOptions <optional>
- Print options (optional). Returns:
- Type
- Promise.<void>