Opens a PDF file into a shared, reference-typed PDF object for reading. The object can be used directly with the Pdf* builtin functions or via method calls (e.g. Pdf( path ).toImage( 1, 400 )). A PDF in RustCFML is read-only: every method is terminal. This function is an alias of pdfRead().
pdf(pathOrBinary)
→ returns any
Create a PDF object from a file path.
doc = Pdf( expandPath( "/invoice.pdf" ) );
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.