PDFsharp & MigraDoc Foundation http://forum.pdfsharp.com/ |
|
AcroForm Image Field - how to insert image stream http://forum.pdfsharp.com/viewtopic.php?f=2&t=3911 |
Page 1 of 1 |
Author: | enendza [ Tue Feb 05, 2019 10:55 am ] |
Post subject: | AcroForm Image Field - how to insert image stream |
Hi - I am trying to stream in an image to a PDF document using the AcroForm Image Field, this allows us to personalize the PDF document to the requester. I get the image object in the AcroForm.Fields collection but I can't figure out how to set the "value" or "steam" on the image object to display in the image field. Text boxes are working fine. Here is an example: WORKS for Text Fields: myTemplate.AcroForm.Fields["PromoCodeBody"].Value = new PdfSharp.Pdf.PdfString("testMe".ToUpper()); myTemplate.AcroForm.Fields["PromoCodeBody"].ReadOnly = true; IMAGE Fields ????? myTemplate.AcroForm.Fields["Image"].Value = ????? Any help is appreciated Emma |
Author: | gaweringo [ Tue Aug 13, 2024 8:16 pm ] |
Post subject: | Re: AcroForm Image Field - how to insert image stream |
Hello, I'd be interested if you found a solution to this problem, or what you did if inserting the image this way did not work out. Thanks |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |