PDFsharp & MigraDoc Foundation

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

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Sep 29, 2014 6:36 pm 
Offline

Joined: Mon Sep 29, 2014 6:17 pm
Posts: 1
Hi,

I don't know if i'm doing something wrong or if this is a bug, but I have a problem when saving a pdf document that comes from a kyocera scanner. The document page size gets resseted to 8.5 by 8.5 even tough the source document is 8.5 by 11.0.

I'm using pdfsharp 1.32.2608. Simple code to reproduce the problem :
Code:
         Dim doc As Pdf.PdfDocument = Pdf.IO.PdfReader.Open(p.localName, Pdf.IO.PdfDocumentOpenMode.Modify)

         doc.Save(Path.GetDirectoryName(p.localName) & "\" & Path.GetFileNameWithoutExtension(p.localName) & "2.pdf")

          doc.Close()

          doc.Dispose()

I've attached a zip file with both PDFs, source and ouput ...

Thanks in advance !

Max


Attachments:
test.zip [220.07 KiB]
Downloaded 502 times
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 129 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