PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

PDF-Sharp-MigraDoc returning a blank PDF document
https://forum.pdfsharp.net/viewtopic.php?f=2&t=3690
Page 1 of 1

Author:  ezaychik [ Thu Nov 09, 2017 8:19 pm ]
Post subject:  PDF-Sharp-MigraDoc returning a blank PDF document

I have recently upgraded from PDF-Sharp version 1.32 to PDFsharp-MigraDoc-gdi.1.50.4619-beta4c in a package(let's call it A) which itself is used as a dependency for another project(let's cal it B). When I was testing, everything worked fine, but after pushing my changes to the main branch of A, when I try to print a PDF I get a blank document. The table and the cells appear, as well as the column headers and footer information and page numbers, but there is no data in the cells.

I did not change any code besides adding the Text Measurment class that was recommended here on another forum post.

I want to clarify: I am not getting any errors; the information just isn't appearing.

Does anyone have any idea why this is happening?
Thanks

Author:  TH-Soft [ Fri Nov 10, 2017 7:53 am ]
Post subject:  Re: PDF-Sharp-MigraDoc returning a blank PDF document

Hi!
ezaychik wrote:
Does anyone have any idea why this is happening?
Wild guesses without any PDF.
Maybe the text is there, but white or transparent or whatever.

Author:  ezaychik [ Fri Nov 10, 2017 5:30 pm ]
Post subject:  Re: PDF-Sharp-MigraDoc returning a blank PDF document

Well the sizes of the two documents is different, indicating that the text really is not there.

Author:  ezaychik [ Fri Nov 10, 2017 7:30 pm ]
Post subject:  Re: PDF-Sharp-MigraDoc returning a blank PDF document

Never mind. I found the error and it was on my part. Great product, PDFSharp team!

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