DynaPDF Manual - Page 28

Previous Page 27   Index   Next Page 29

Language Bindings
Page 28 of 839
The usage of DynaPDF is almost identical in all programming languages; you must only
consider that the instance pointer IPDF is contained in the C/C++ interface only.
Visual Basic, Visual C#, or Delphi users must create an instance of the wrapper class CPDF or
TPDF in Delphi before a DynaPDF function can be executed. The instance of the wrapper class
must also be deleted by calling the destructor of the class.
C or C++ programmers must create a PDF instance with the function pdfNewPDF() before a
DynaPDF function can be executed. This instance must be deleted with the function
pdfDeletePDF() when it is no longer needed.
We tried also to consider the specific requirements for each programming language so that
DynaPDF can always be used without limitations. This causes slightly differences because of
the differences between programming languages. For instance, the Visual Basic interfaces uses
events instead of callback functions because the usage of callback functions is more complicated
in VB as in other programming languages.
 

Previous topic: Scrolling issues on high dpi devices, Static contents in dpi aware applications, Language bindings, Differences between DynaPDF interfaces

Next topic: Embarcadero C++ Builder