We strive to keep our articles as accurate as possible. If you notice any inconsistencies or outdated info please let us know.
Do I need to set any option before I can set the Save Folder and Save folder options?
There are some boolean settings that enable some features (like bookmark detection, watermarks or security). If you do not enable the feature with the appropriate option, the details you set on how the feature should act will not be taken in account. As an example, when you set programmatically a file name and a save folder you also have to disable the prompt of the Save As dialog (set the "Prompt Save Dialog" to 0).
The MFC Converter sample demonstrates how to convert an existing file by printing it to novaPDF using the ShellExecute function. It also demonstrates how to set different options and manage profiles.
The same approach should be taken if you print using a "Print()" method from another object (like an internet browser or a report control). Just replace the ShellExecute call with the call of your Print method.
The VCL Converter (Delphi PDF) sample demonstrates how to convert an existing file by printing it to novaPDF Printer using the ```ShellExecute```function. It also demonstrates how to set different options and manage profiles in your novaPDF development.
Hello World (Delphi PDF) sample is a simple Windows console application that prints one page with the "Hello World from Delphi!" text to the novaPDF Printer.
It demonstrates the basic use of the INovaPDFOptions interface. The printing job is made with calls to the global Printer object defined by Delphi. Text is printed using Canvas.TextOut method.
It generates a "Hello World.pdf" file in the working folder.
novaPDF SDK includes as part of its documentation several code samples that help developers integrate it faster in their applications, depending on the programming language it is written in. This section includes several code samples showing the various possibilities to send programmatically a print job to the novaPDF SDK printer.