Performance |
Start page Previous page Next page |
The standard settings of n2pdf are used to define all the properties that govern the creation of a PDF file, such as e.g. variable replacement or the creation of lists for the TOC. As some of the possible settings have an effect on the speed in which a PDF is created, but as they are not always needed, it is possible to deactivate them. This then has a positive effect on the overall performance.
With the following options you can selectively deactivate standard routines in n2pdf which play no part in a specific application. After a deactivation of the options, there is no need for n2pdf to check the entire text for this content, or perform the operations, and the creation of the PDF file is thus significantly speeded up.
N2PDFOPTION_SPEED_NO_EMBEDDED_IMAGES
N2PDFOPTION_SPEED_NO_PAGE_NUMBERS The calculation and output of page numbers is suppressed. The system constants [ActPg] and [SumPg] are not replaced.
N2PDFOPTION_SPEED_NO_SYSTEM_CONSTANTS All system constants are not replaced.
N2PDFOPTION_SPEED_NO_VARIABLES The search and replace for variables is deactivated.
N2PDFOPTION_SPEED_NO_CUSTOM_LINKS The search and replace for custom links in the PDF file is deactivated.
N2PDFOPTION_SPEED_NO_FOOTNOTES If you do not want to use footnotes in the PDF file, you can deactivate the creation of footnotes with this option.
|