PDF Version Reading

Hi ,

I want to retrieve the PDF version in UI path.Can anyone help us.

Thanks in Advance

hey @harireddy

pdf version means the installed pdf software product version on your sytem?


the main requirement is check pdf version from properties panel and if it is greater that 1.4 we show display the message in log file.

Thanks for your reply…

Pdf version means pdf file version

Hi @harireddy
According to Adobe/ISO PDF specification, PDF first line means pdf version.
e.g %PDF-1.4

Therefore, if you read a first line from your PDF file, you can get PDF version number.
For Example, I created a small invoke code, it works fine.

Is it ok to do it like this?

using a click method go to file/properties and read PDF version.