isPDFFile

Verifies whether a PDF file is valid.

isPDFFile(path) → returns boolean

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

Argument Reference for the isPDFFile function

path

Required: Yes
Pathname to a PDF file.


Fork me on GitHub