|
-
Apr 4th, 2007, 09:39 AM
#1
Thread Starter
Hyperactive Member
[02/03] Read properties PDF (VB.NET)
Hi,
How I can read the properties of a PDF file? (author, created date , etc)
regards
-
Apr 4th, 2007, 10:53 AM
#2
Member
Re: [02/03] Read properties PDF (VB.NET)
-
Apr 8th, 2007, 09:58 AM
#3
Thread Starter
Hyperactive Member
Re: [02/03] Read properties PDF (VB.NET)
Thank you for the link, but there would be some another way of doing it without having to use libraries of the others?
regards
-
Apr 8th, 2007, 11:31 AM
#4
Member
Re: [02/03] Read properties PDF (VB.NET)
System.IO.FileInfo has some of the properties you're looking for, but it's author that I think you'll need a pdf library for.
you don't like other people's libraries? odd.
Without using someone else's library... you could always write your own? (no, don't ask I'm fresh outta links)
I like when I find that someone has already gone thru the trouble of writing something that would be tedious for me to create. Now sometimes I don't like their implementation and I would rewrite, but an initial peice of source goes a long way..
-
Apr 10th, 2007, 05:30 PM
#5
Addicted Member
Re: [02/03] Read properties PDF (VB.NET)
Open the file and search for the following "/Author" "/Title" "/Creator" "/Producer" "/CreationDate" "/Subject" and "/Keywords" to get the corresponding information. The values will apear in side () to the right of each key word.
For example:
/Title ( PostScript Language Reference, Third Edition )
/Author ( Adobe Systems Incorporated )
/Creator ( Adobe FrameMaker 5 . 5 . 3 for Power Macintosh® )
/Producer ( Acrobat Distiller 3 . 01 for Power Macintosh )
/CreationDate ( D : 19970915110347 - 08 ' 00 ' )
/ModDate ( D : 19990209153925 - 08 ' 00 ' )
None of the above are required, so a document may not have any.
You can open a pdf document in write, just right click on the document and select write from the open with menu, to see what inside of it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|