isPDFFile

Verifies whether a PDF file is valid.

isPDFFile(path) → returns boolean

This function requires Adobe ColdFusion 8 and up.  Not supported on Lucee, etc.

Argument Reference

path string
Required

Pathname to a PDF file.

Examples
Sample code invoking the isPDFFile function


Fork me on GitHub