PDF library C interface binding

Apryse’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 Apryse C headers, you can bind the Apryse C library to other languages not directly supported by Apryse. See Server SDK get started guide for a list of supported languages and frameworks.

C interface binding example

This guide is a demo for using our C interface binding and is not a production version of the Go wrapper. Please visit our Apryse SDK for Go documentation for more information on using our production version of Go.

Header basics

The Apryse 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 Apryse 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.

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales