Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Is there any way to retreive a PDF document's properties such as Page size, and page count? I have found several libraries that generate PDF documents, but I merely want to read some of the properties that are usually displayed in reader. The adobe PDFLib does not appear to have anyway of doing this. I am considering getting the adobe SDK (cost $200), but I'm not sure that it's not overkill or that it will work well with .NET

 

Anyone have any advice/knowledge to share here?

Posted

i luv notepad

 

Well, in case anyone is interested. I seemed to remember something about PDFs being readable in notepad. So I popped one open, and sure enough... Then downloaded the Adobe PDF reference manual. And found that there are textual tags such as "/Page " indicating a new page item and also tags for crop size and media size.

 

So I'm parsing the pdfs for the heck of it... I think it'll work out but it seems so simple that i'm skeptical.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...