HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML Forums › Technical questions / Troubleshooting › setPageMargins() This topic has 0 replies, 1 voice, and was last updated Oct 21, 202222:42:05 by johannesvanpelt. Viewing 1 post (of 1 total) Author Posts johannesvanpelt October 21, 2022 at 22:42 #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(); Author Posts Viewing 1 post (of 1 total) You must be logged in to reply to this topic.