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