TUTORIAL
In this section we provide easy to follow tutorials on how to use FOXIT PDF SDK to render PDF pages as you like. Please note we use C language in all tutorials, so if you are using other programming languages, please refer to the corresponding information on how you can call the DLL. For C/C++ language, you can include the FPDFVIEW.H head file in your source code, and call the functions listed in the head file. You also need to link with the FPDFSDK.LIB file (on Windows) or libfpdfsdk.so (on Linux).
FOXIT PDF SDK is a standalone dynamic library (DLL on Windows or shared library on Linux), it doesn't require any runtime language support (except basic Windows or Linux components), and therefore, you can call the SDK from any programming language which supports Windows system function calls or Linux shared library calls.
FOXIT PDF SDK uses only basic data types including integer, double, zero-terminated string, and opaque pointers. You can find any of these types in any programming language. NOTE: for opaque pointer types defined in fpdfview.H head file, including PDF_DOCUMENT and PDF_PAGE, can be treated simply as 32 bit integers.
Most programming languages support two types of DLL calling:

  1. Static loading: you can declare the functions in your own language, at the compile time, so when the program starts, it will automatically look for FOXIT PDF SDK and load all functions;
  2. Dynamic loading: you can call Windows system functions to load the DLL at any time after your program starts, and then you can load the necessary functions from the DLL, and call them.