PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
could not open pdf from c# code. http://forum.pdfsharp.com/viewtopic.php?f=2&t=3839 |
Page 1 of 1 |
Author: | ArulMurugan [ Thu Aug 30, 2018 2:48 pm ] |
Post subject: | could not open pdf from c# code. |
I convert Html string to pdf using below code. Code: var pdf = TheArtOfDev.HtmlRenderer.PdfSharp.PdfGenerator.GeneratePdf(body, PdfSharp.PageSize.A4); pdf.Save(ms); it save success fully, and it can open chrome and adobe reader. but when i open using c# winform Devexpress pdf viewer or aws s3 , it can not be opened directly. when i download from s3 and view this pdf property, it show below warning. Attachment: image (1).png [ 14.14 KiB | Viewed 3312 times ] please healp me how to solve it. |
Author: | Thomas Hoevel [ Thu Aug 30, 2018 2:59 pm ] |
Post subject: | Re: could not open pdf from c# code. |
ArulMurugan wrote: please healp me how to solve it. Can you open it after checking the "Unblock" checkbox and pressing Apply?
|
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |