PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 11:58 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Nov 09, 2017 2:32 pm 
Offline

Joined: Thu Nov 09, 2017 2:03 pm
Posts: 2
First of all: thanks for the product! It's very helpful to us.

Now for the issue: We're using PdfSharp to load documents to concatenate them into larger documents. Loading a document usually works fine, but we have encountered a 212 pages long document where only the first 10 pages are loaded. Unfortunately, I cannot attach the document since it contains personal information, but it seems like it's combined from several documents, since there's a layout change between pages 10 and 11. So, the first "sub document" is loaded, but not the rest.

Firefox and Adobe Acrobot Reader displays the whole document correctly.

We have been using 1.50.4000-beta3b, but have tried using 1.50.4619-beta4c and still have the same problem. We're using this code for loading the documents:
Code:
    var inputDocument = PdfReader.Open(fileData.Stream(), PdfDocumentOpenMode.Import);
    pages = inputDocument.Pages.ToList<PdfPage>(); // only 10 pages here

Do you know anything that could cause this problem? Or how we might detect that there is a problem? Thanks in advance!


Top
 Profile  
Reply with quote  
PostPosted: Thu Nov 09, 2017 3:09 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
Hi!
kmcinnomate wrote:
Do you know anything that could cause this problem?
No.
So there is not much I can do without looking at the file.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 135 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group