Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am not able to read large pdf files(more than 2GB)[am working on c#]
I am using iTextSharp.dll to read pdf files.
I am reading the pdf file to display number of pages in it.
while reading i am getting error as below:

Rebuild failed: Non-negative number required.
Parameter name: value; Original message: PDF Startxref not found.

how can i read large pdf files(more than 2GB).

Regards,
Posted
Comments
Mehdi Gholam 28-Oct-11 2:21am    
You have a serious problem if you have a 2Gb PDF file, I have yet to see a PDF > 200MB and that was scanned and not text.
Praveen Kullu 28-Oct-11 2:43am    
Please check if the PDF file opens in adobe/foxit reader first. You wont find PDF files that large on internet.

1 solution

 
Share this answer
 
Comments
Praveen Kullu 28-Oct-11 3:06am    
From the link above:

"File sizes above 2G are not supported. This was a design decision made 10 years ago that still makes sense
today. I have my doubt's that this will be "fixed" unless someone pays for the development or you do it
yourself, it's a niche feature. There's also the performance penalty to take care of and the memory
occupied by the xref."

This explains it all...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900