// from binary function pdf(event,rc,prc){ var binary = fileReadAsBinary( file.path ); event.renderData(data=binary,type="PDF"); } // from content function pdf(event,rc,prc){ event.renderData(data=renderView("views/page"), type="PDF"); }
result = event.renderData(data=somedata, type="pdf");fileWrite("foo.pdf", result.getRenderData().data);
event.renderData(data=somedata, type="pdf",
pdfArgs {filename='Fullpath/blah.pdf'}
);
--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to a topic in the Google Groups "ColdBox Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coldbox/5eDHANSWDLM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coldbox+unsubscribe@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/bc1587a0-cd27-43a1-9d10-89bfbd95183f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to coldbox+u...@googlegroups.com.