Skip to main content
heidic98082171
Participant
August 2, 2018
Question

PDF version

  • August 2, 2018
  • 2 replies
  • 677 views

How do I extract the PDF version of a PDF file using Visual Basic code?

This topic has been closed for replies.

2 replies

Legend
August 2, 2018

Yes, I'm telling you that. The VB functions are VERY limited, but plug-ins written in C++ can do a lot more.

Take a look at the first line of a PDF in a text editor to see what I mean about version number.

lrosenth
Adobe Employee
Adobe Employee
August 2, 2018

Of course, you should know that the version in the header is NOT necessary the actual version. There is also a way for updating the version using the /Version key in the document catalog dictionary. That cannot be determined as easily (except via a plugin or library).

Legend
August 2, 2018

Read bytes 6 to 8 of the file.

heidic98082171
Participant
August 2, 2018

How do I read bytes 6 to 8 of the file?

Legend
August 2, 2018

Using whatever you’d normally use in VB. This is outside the abilities of the SDK.