Last post Dec 28, 2010 04:44 AM by gaurav dixit
Dec 22, 2010 03:28 AM|Gaurav Dixit|LINK
First of all sorry for posting a bit unrelated post here, but i havnt found solution on this anywhere, so posting it here.
I am using PDFSharp library(written totally in C#) in my C# project to work on PDF files,i want to get all possible information on page level
e.g page is BW or color,what is DPI,height-width etc...
Is it possible to get this in PDF sharp??
if not, is there any other library which will be usefull in this case..or can i do this in C# only??
PDF page information
Dec 22, 2010 04:09 AM|sarfrazahmed|LINK
perhaps u should use Acrobat SDK / Acrobat API,
do read this: http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/access.pdf
page number 26
mark this post as answer if it has resolved ur issue
Dec 22, 2010 04:39 AM|Gaurav Dixit|LINK
sorry, but i dont want to go for Adobe SDK.
Dec 22, 2010 04:58 AM|sarfrazahmed|LINK
do share the solution that work for u. it will be intersting to know.
Dec 28, 2010 04:44 AM|Gaurav Dixit|LINK
i found one solution over this-
I have used clearimage library from informatica.
which gives me details like DPI,Bits per pixel, format at page level, i have observed these properties among differend PDF files for color,grayscale,BW etc.. and got difference key between them to identify type also got width, height properties
But now am again facing defferent problem with PDFsharp library this time...
I have some pdf files with version 1.2(version supported by PDF sharp library), i got error while reading these files in PDFsharp on line
- token 001 was not expected
- token 5 was not expected
- token n was not expected
i cannot understand what kind of errors are these since it occurs only for some files,
also no usefull information on internet to understand this, not even on PDFSharp forums
Error on reading PDF file