PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.de/

Reading pdf created by VS 2010 report designer
http://forum.pdfsharp.de/viewtopic.php?f=2&t=1541
Page 1 of 1

Author:  rajendra.dixit [ Thu Feb 10, 2011 2:11 pm ]
Post subject:  Reading pdf created by VS 2010 report designer

We have created a pdf using Visual Studio 2010 report designer. This pdf is in version 1.3. When we try to merge this pdf with other pdfs of version 1.4 using latest version of PDFSharp, we are getting blank pages for the pdf with version 1.3 and the content for pdf version 1.4 are shown correctly. Please help.

Author:  Thomas Hoevel [ Thu Feb 10, 2011 3:23 pm ]
Post subject:  Re: Reading pdf created by VS 2010 report designer

This could be the same problem.

Thomas Hoevel wrote:
GaryR wrote:
I did some more testing and it appears that the "only" time the pages get blanked out when adding a password to the PDF file using the PdfSharp-WPF assembly is when the file was created by exporting from the SQL Report Viewer.

Not sure if this is the same problem, but maybe it helps to disable compression.
See here:
viewtopic.php?p=1613#p1613

ballinator wrote:
For the DeviceSettings parameter for the Render method on the ReportExecutionService object, pass this value:

theDeviceSettings = "<DeviceInfo><HumanReadablePDF>True</HumanReadablePDF></DeviceInfo>";

This disables PDF file compression for SSRS 2008. Then, PDFSharp is able to handle the resulting uncompressed PDF file. (Note: SSRS 2005 ignores this setting so it can be passed to both SSRS versions.)


Maybe a change in PDFsharp can help.
See here:
viewtopic.php?p=3611#p3611

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/