Results 1 to 5 of 5

Thread: [02/03] Read properties PDF (VB.NET)

  1. #1

    Thread Starter
    Hyperactive Member anna7's Avatar
    Join Date
    Sep 2005
    Location
    Catalonia
    Posts
    481

    Question [02/03] Read properties PDF (VB.NET)

    Hi,

    How I can read the properties of a PDF file? (author, created date , etc)

    regards

  2. #2
    Member
    Join Date
    Apr 2007
    Posts
    36

    Re: [02/03] Read properties PDF (VB.NET)

    have you taken a look at http://www.ujihara.jp/iTextdotNET/en/ ?

  3. #3

    Thread Starter
    Hyperactive Member anna7's Avatar
    Join Date
    Sep 2005
    Location
    Catalonia
    Posts
    481

    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

  4. #4
    Member
    Join Date
    Apr 2007
    Posts
    36

    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..

  5. #5
    Addicted Member
    Join Date
    Mar 2006
    Posts
    235

    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
  •  



Click Here to Expand Forum to Full Width