Getting Started with PDFix SDK

Use Command Line Utility or Start Integrating Into Your Code
Integration through the CLI

PDFix provides simple, fast and automated PDF processing through the command-line. PDFix CLI is the easiest way to integrate the PDFix SDK functionality into your solutions.

Technically the CLI is a an application created with our SDK.  It’s suitable for system integrators without developer experience who want to integrate PDFix technology.

Integration through the SDK

PDFix SDK allows full control of integration and processing. It gives you access to all SDK features and you have power to fully customise our extraction and conversion engine.

Have a look at our functional examples to see how easy it is to integrate PDFix SDK into your project. Speed up development by using our code examples! Download examples from PDFix GitHub.

1. Choose your package

Follow the matrix below to choose the right packages from the PDFix SDK library.

Select the platform:
Windows Mac Linux
Select the programming language:
C++ Java C# Python
Choose the packages:
PDFix SDK
PDF to HTML
Tesseract OCR

2. Integrate PDFix into your code

This repository contains PDFix SDK Samples to showcase how to easily run PDFix technology on your environment.
Samples help you to integrate PDFix technology into your applications. You will find it in our documentation.
If you run into trouble, contact us at support@pdfix.net.
Free 30 days Trial with the full feature set.
Adjustable according to your solution needs.

Quick Code Integration Start:

Integrate PDFix into Java applications (Netbeans, Android Studio, Eclipse)
package net.pdfix.samples;
import net.pdfix.Utils;
import net.pdfix.pdfixlib.Pdfix;
public class Initialization {
public static void run(
String email, // authorization email
String licenseKey // license key
) throws Exception {
System.load(Utils.getAbsolutePath(Utils.getModuleName("pdfix")));
Pdfix pdfix = new Pdfix();
if (pdfix == null)
throw new Exception("Pdfix initialization fail");
if (!pdfix.Authorize(email, licenseKey))
throw new Exception(pdfix.GetError());
if (pdfix.GetVersionMajor() != Pdfix.PDFIX_VERSION_MAJOR ||
pdfix.GetVersionMinor() != Pdfix.PDFIX_VERSION_MINOR ||
pdfix.GetVersionPatch() != Pdfix.PDFIX_VERSION_PATCH)
throw new Exception("Pdfix invalid version");
// ...
pdfix.Destroy();
}
}
Integrate PDFix into C++ applications (XCode, Visual Studio)
#include <string>
#include <iostream>
#include "Pdfix.h"
const std::wstring& email, // authorization email
const std::wstring& license_key // authorization license key
) {
// initialize Pdfix
if (!Pdfix_init(Pdfix_MODULE_NAME))
throw std::runtime_error("Pdfix initialization fail");
Pdfix* pdfix = GetPdfix();
if (!pdfix)
throw std::runtime_error("GetPdfix fail");
if (pdfix->GetVersionMajor() != PDFIX_VERSION_MAJOR ||
pdfix->GetVersionMinor() != PDFIX_VERSION_MINOR ||
pdfix->GetVersionPatch() != PDFIX_VERSION_PATCH)
throw std::runtime_error("Incompatible version");
if (!pdfix->Authorize(email.c_str(), license_key.c_str()))
throw std::runtime_error(std::to_string(GetPdfix()->GetErrorType()));
// ...
pdfix->Destroy();
}
Integrate PDFix into C# applications
using System;
using PDFixSDK.Pdfix;
namespace PDFix.App.Module
{
{
public static void Run(
String email, // authorization email
String licenseKey // license key
)
{
Pdfix pdfix = new Pdfix();
if (pdfix == null)
throw new Exception("Pdfix initialization fail. Please set correct email and license key.");
if (!pdfix.Authorize(email, licenseKey))
throw new Exception(pdfix.GetError());
if (!pdfix.IsAuthorized())
throw new Exception("Pdfix Authorization fail");
// ...
pdfix.Destroy();
}
}
}

Windows, MacOS, Linux

Java, Python, C#, C++