Some test text!

C interface bindingskeyboard_arrow_down

PDF library C interface binding

PDFTron’s PDF SDK ships with a powerful C API to bring accurate, reliable, and fast document reading, writing, editing, and printing capabilities to commercial applications. Using the PDFTron C headers, you can bind the PDFTron C library to other languages not directly supported by PDFTron. You can see a list of supported languages and frameworks here .

Get started with a Go example

Header basics

The PDFTron SDK download package contains headers detailing the methods available in the C API which can be used as an interface for various other languages, including but not limited to Go, Rust and more. You can find these headers in the PDFNetC(64)/Headers/C directory. Importing these headers into your project will allow you to use the PDFTron API, but the method of importing the library differs from language to language.

Memory ownership

Responsibility for creating or deallocating certain variables or chunks of memory depends on the function. The best way to learn about this is to look at:

  1. Function documentation
  2. The implementation in the C++ wrapper
  3. The C wrapper headers

All of these are contained in the Headers folder of the package.

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.