PDFsharp & MigraDoc Forum

PDFsharp - A .NET library for processing PDF & MigraDoc - Creating documents on the fly
It is currently Sun Jul 06, 2025 4:59 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules

Also see our new Tailored Support & Services site.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Page size truncated
PostPosted: Mon Dec 10, 2012 9:17 pm 
Offline

Joined: Mon Dec 10, 2012 8:15 pm
Posts: 2
It's very strange and I've not idea why it happens.
Every time i open a pdf document having PageSize property setted to Unknow value, it will be trunced on right side after saving.
For instance, when I use the following simple instruction
Code:
PdfDocument document = PdfReader.Open("filename");
            document.Save("newFilename");

if they are applied to some pdf doc with Unknow page size, my final doc will be appear truncated.

The only way I know to avoid that issue is import all pages from first doc to second one, but it isn't what I want because I need to modify source doc.

It seeme to be a bug.

Any suggestion will be appreciated..


Top
 Profile  
Reply with quote  
 Post subject: Re: Page size truncated
PostPosted: Mon Dec 10, 2012 10:39 pm 
Offline

Joined: Mon Dec 10, 2012 8:15 pm
Posts: 2
Well, I note that all works fine if I print my "strange" pdf through pdf printer with option "Automatic rotate" and "center".

I'm lost. Is there any way to do the same work done by my pdf virtual printer? by the way I can correctly manipulate all pdf docs regardless orientation and size type.


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: No registered users and 13 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