Skip to main content
August 18, 2010
Question

data returned from cfpdf action=read

  • August 18, 2010
  • 1 reply
  • 796 views

I'm trying to figure out how to determine if a PDF retrieved using cfpdf action=read has been flattened.

If I attempt to flatten an already-flattened PDF I get a "Source does not have any form. Cannot specify flatten for the WRITE action in the cfpdf tag" error.  So, I'd like to read a PDF and then only run the flatten code if it needs it.  But I can see from the variables returned from action=read how to determine that.

Thanks.

Matt

This topic has been closed for replies.

1 reply

August 19, 2010

Oops. I meant "... I can't see from the variables returned from action=read how to determine that."

Matt