1
0
-1

3 answers

  1.  
    1
    0
    -1

    You need to add some code into your configurations. search for THSarabun.ttf in Export Form Email Tool#Advanced

      CommentAdd your comment...
    1.  
      1
      0
      -1

      I got Test.pdf file in the directory, however there are no field in Thai language to show in Test.pdf file.

        CommentAdd your comment...
      1.  
        1
        0
        -1

        AppDefinition appDef = AppUtil.getCurrentAppDefinition();
        String formId = "creditTerm";
        String iid = "01";
        //generate the pdf file in bytes
        byte[] pdf = FormPdfUtil.createPdf(formId, iid, appDef, null, null, null, null, null, null, null, null);

        FileOutputStream out = new FileOutputStream("D:\\Test.pdf");
        out.write(pdf);
        out.close();

          CommentAdd your comment...