Returns the number of pages in a PDF document.
pdfPageCount(pdfObj)
→ returns numeric
Count the pages in a PDF.
doc = PdfRead( expandPath( "/invoice.pdf" ) );
writeOutput( PdfPageCount( doc ) );
Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.