Toolbox add-on code samples
The code sample repositories for Pdftools SDK and Toolbox add-on are offline. We apologize for the inconvenience. If you need a code sample, contact support.
Find Toolbox add-on code samples on GitHub and on Google Colab. Clone a GitHub repository to get the code, test Toolbox add-on features using sample PDFs included in each example, and check a per-sample README with instructions on how to run the sample. You can also open Jupyter notebooks in Google Colab to run code examples in your browser without a local setup.
- C
CMake projects.
- C#
.NET projects in C#.
- Java
Maven and Gradle projects.
- Python
Single-file scripts with a pip dependency.
- Python Jupyter notebooks
Runs in Google Colab.
New to the Toolbox add-on? Start with ImageExtraction or AddText, the entry-point samples used in the getting-started guides.
The Colab dialog opens the shared components-code-sample-hub repository, which holds notebooks for both the Pdftools SDK and the Toolbox add-on SDKs. The dialog has no built-in filter. To find Toolbox add-on notebooks:
- Open your browser’s find-on-page bar with Cmd+F on macOS or Ctrl+F on Windows and Linux.
- Enter the prefix
pdftools_toolbox_. - Click a matching notebook to open it in Colab.