Some test text!

Where should I call the PDFNet initialize"?keyboard_arrow_down

Where should I call the PDFNet initialize"?

This is a very common question when using PDFNet for the first time. PDFNet initialize must be called before any other methods call with PDFNet.

// Use runWithCleanup instead of initialize
// PDFNet initialize is called within runWithCleanup
// runWithCleanup will also perform automatic memory management
PDFNet.runWithCleanup(callback, "Insert commercial license key here after purchase");

// Optional alternative to call initialize directly 
PDFNet.initialize("Insert commercial license key here after purchase");

The best location would be your application start-up function (such as main(), OnAppStart(), DLLMain(), etc. - depending on our application type and development platform).

Get the answers you need: Support


Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.