Language Support

If you use one of the following languages/development environments please see the notes below:

If you are using another language and/or development environment you should still be able to use our Dynamic Link Library.

The important thing is to identify how to load and call a DLL. There are two different versions of our DLL, and these relate to the way in which parameters are passed to the APIs that have been defined: You should be able to find some examples on the Internet of how to load and call DLLs from your particular language/development environment. The examples will probably show how to call some of the Windows DLLs which is the stdcall version of our DLL.

NB. When you distribute your application executable ensure that you also include "Image2PDF.dll" as part of your distribution.


Borland C++ Builder:

To use the Image to PDF DLL with Borland C++ Builder you will need to use the alternative "Image2PDF StdCall.dll" (which uses the Windows stdcall calling convention instead of the default DLL which uses the C calling convention) and link with the Borland C++ Builder specific .lib interface ("Image2PDF Borland.lib")

Then include the "Image2PDF-BCC.h" file in your project which defines all of the APIs and constants that can be used.

There is a simple working example which you can find in the directory "Simple Image2PDF Borland C example".


C/C++:

To use the Image to PDF DLL with C/C++ you will need to link with the C/C++ specific .lib interface ("Image2PDF.lib")

Then include the "Image2PDF.h" file in your project which defines all of the APIs and constants that can be used.

There is a simple working example which you can find in the directory "Simple Image2PDF C example".


Clarion:

To use the Image to PDF DLL with Clarion you will need to use the Clarion specific files as outlined below:

  • Put "Image2PDF Clarion.lib", "Image2PDF.inc" and "Image2PDF.DLL" into your Clarion application directory
  • Load your Clarion Application into the Clarion IDE
  • Under Project/Properties > "Library, object, and resource files", press the "Add File" button to add "Image2PDF Clarion.lib"
  • Under Application/Global/Embeds > "Inside the Global Map", add: INCLUDE('Image2PDF.inc')


  • Click here to view a Clarion code snippet


    LabVIEW:

    To use the Image to PDF DLL with LabVIEW requires the use of the Call Library Function Node with a VI.

    This should be added and configured in your VI with the following common function node settings:
    Library name or path: Image2PDf.dll
    Calling conventions: C
    Function: Run in UI Thread

    Each individual function should be configured using the LabVIEW.htm file as your guide for adding in a Call Library Function Node with the correct function return type and parameters.


    Visual Basic 6:

    To use the Image to PDF DLL with Visual Basic you will need to use the alternative "Image2PDF StdCall.dll" which uses the Windows stdcall calling convention instead of the default DLL which uses the C calling convention.

    To do this rename the existing "Image2PDF.dll" as "Image2PDF-C.dll" and then rename "Image2PDF StdCall.dll" as "Image2PDF.dll".

    Then include the "Image2PDF.bas" module in your project which defines all of the APIs and constants that can be used.

    There is a simple working example which you can find in the directory "Simple Image2PDF VB6 example".


    Visual Basic 2005:

    Include the "Image2PDF.vb" file in your project which defines all of the APIs and constants that can be used.

    There is a simple working example which you can find in the directory "Simple Image2PDF VB.net example".


    Visual C# 2005:

    Include the "Image2PDF.cs" file in your project which defines all of the APIs and constants that can be used.

    There is a simple working example which you can find in the directory "Simple Image2PDF Csharp example".


    Visual C++ 2005:

    Include the "Image2PDF.cpp" file in your project which defines all of the APIs and constants that can be used.


    Visual J# 2005:

    Include the "Image2PDF.jsl" file in your project which defines all of the APIs and constants that can be used.


    xHarbour / Five Win Harbour

    Use the "Image2PDF.prg" file in your project which defines all of the APIs and constants that can be used.

    Click here to view an alternative Harbour code snippet