Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26936

    Hi,

    I have been using the below sample code in my application. I have been using the demo jar.

    PD4ML html = new PD4ML();
    html.setPageSize(new java.awt.Dimension(450, 450));
    html.setPageInsets(new java.awt.Insets(20, 50, 10, 10));
    html.setHtmlWidth(750);
    html.enableImgSplit(false);
    response.setHeader("Content-Disposition", "attachment; filename=test.pdf");
    
    URL base = new URL("file:D:/home.jsp");
    html.render(url, baos);

    Is this feature available in PD4ML library or in PD4Ml library PRO? I have to give this info to my procurement team.

    #29548

    The code works with both Std and Pro versions.

    The Pro version would also allow you to embed TTF fonts and to display with them non-Latin and special characters.

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.