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

 

112

This option is only still available for reasons of compatibility.

 

 

N2PDFOPTION_SPEED_NO_PAGE_NUMBERS

The calculation and output of page numbers is suppressed. The system constants [ActPg] and [SumPg] are not replaced.

 

N2PDFVALUE_TRUE

Page numbers are not calculated

N2PDFVALUE_FALSE

Page numbers are calculated (Default)

         

 

 

N2PDFOPTION_SPEED_NO_SYSTEM_CONSTANTS

All system constants are not replaced.

 

N2PDFVALUE_TRUE

Replacement of system constants is deactivated

N2PDFVALUE_FALSE

System constants are replaced (Default)

         

 

 

N2PDFOPTION_SPEED_NO_VARIABLES

The search and replace for variables is deactivated.

 

N2PDFVALUE_TRUE

No variable replacement

N2PDFVALUE_FALSE

Variable replacement is active (Default)

         

 

N2PDFOPTION_SPEED_NO_CUSTOM_LINKS

The search and replace for custom links in the PDF file is deactivated.

 

N2PDFVALUE_TRUE

Replacement for custom links is deactivated

N2PDFVALUE_FALSE

Replacement for custom links is active (Default)

 

 

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.

 

N2PDFVALUE_TRUE

Footnotes are created

N2PDFVALUE_FALSE

No footnotes are created.