FAQ
Answers to common questions about NexPDF licensing, watermarks, threads, fonts, signatures and platforms.
Yes. Without a key every SDK opens documents, renders pages, extracts text and searches. Rendered pages carry the "NexPDF • Unlicensed" watermark, and calls that need another module fail with a license error. See Licensing.
Either no key was activated in this process, the key was rejected (check the activation result or error code), or it is a trial key: trial keys unlock every module but keep the "NexPDF • Trial" watermark. Only commercial keys render without a watermark.
No. Keys are verified offline, inside the SDK, against public keys compiled into it. Your documents are never sent anywhere by the engine. The network is used only by features that need it, such as a timestamp authority or OCSP and CRL lookups when you ask for them while signing.
A name you choose, for example com.acme.invoicing, registered on the license with platform
server (or linux, macos, windows for desktop apps). Pass the same string to the activation
call.
From NexPDF 1.1, nothing stops: a commercial key covers every SDK release made up to its expiry date (the end of the paid year plus 14 days of grace), and the apps you shipped with it keep working after that date. You need a renewed key only to upgrade to an SDK released after the expiry. With SDKs 1.0.x, the key works until the expiry date by the device clock, and then the SDK behaves as if no key were activated: viewing only, with the watermark. Trial keys always end by the clock.
Not at the same time. Use one document from one thread (or queue, or goroutine) at a time. Different
documents can be used on different threads in parallel, and copy() gives an independent copy of a
document for background work.
A signing call returns the complete signed file. Write those bytes as they are. Saving the document object again rewrites the file and breaks the signature.
PDFs that use the standard fonts (Helvetica, Times, Courier) without embedding them need
substitutes. The default builds bundle the Liberation fonts for this. If you use a lighter build
without bundled fonts, register them at run time with register_standard_font
(registerStandardFont or loadStandardFonts on the web).
PDF (including encrypted PDFs with a password), JPEG, PNG and TIFF pictures, and, with the
conversion module, Word, Excel and PowerPoint files, HTML, EPUB, FictionBook, XPS and CBZ.
The document APIs use PDF user space: points, with the origin at the bottom-left of the page. Use the
page view helper of your SDK (pageView, page_view_json) to convert between PDF points and screen
pixels on rotated or cropped pages.
The built-in OCR engine runs on every platform and reads Latin-script text. On servers and desktops
the native SDKs can also use the tesseract program when it is installed: "engine":"auto" (the
default) picks Tesseract when it has data for every requested language and falls back to the
built-in engine otherwise. The WebAssembly SDKs (web and Node.js) use the built-in engine only. OCR
needs the ocr module (Enterprise).