PDGen Runtime API

To use the PDGen runtime you need to:

  1. Add the PDGen runtime jar to your Java application. You can find it at: Maven Central.
  2. Create a PDGen Object
    import org.pdgen.runtime.PDGen;
    PDGen pdg = new PDGen(“mytemplates.pdg”);
  3. Start the generation process:
    OutputStream pdfout = pdg.createPDF(“mytemplate”, mydata);