Viewing 1 post (of 1 total)
  • Author
    Posts
  • #35488

    Hi, I am instantiating pd4ml from ColdFusion as follows. How can I use setPageMargins()?
    Meaning, I do not know how to set the margins using the below code. Thank you.

    Thank you

    Renderer = createobject(“java”, “org.zefer.pd4ml.PD4ML”).init();
    fInput = createObject(“java”, “java.io.File”).init(“#attributes.filein#.htm”).toURI().toURL();
    fOut = createobject(“java”, “java.io.FileOutputStream”).init(“#attributes.fileout#.pdf”);
    Renderer.render(fInput, fOut);

    fOut.close();

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.