Joined: Tue Feb 05, 2019 10:35 am Posts: 1
|
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
|
|