Posted by a ceTe Software moderator
Hello,
It is not possible to set transparency to the signature area using DynamicPDF API. If you are adding only the image to the PDF then you can load the image using Image page element and then add this Image object to the TransparencyGroup page element. You can set desired transparency to the TransparencyGroup. You can refer to the documentation on TransparencyGroup page element
here. Also below is the code sample for adding image by setting transparency.
PdfDocument pdf = new PdfDocument(@"Path for input PDF");
MergeDocument document2 = new MergeDocument(pdf);
Page page2 = document2.Pages[0];
TransparencyGroup grp = new TransparencyGroup(0.4F);
Image image = new Image(@"Path for an image", 10, 10);
image.Width = 300;
image.Height = 100;
grp.Add(image);
page2.Elements.Add(grp);
document2.Draw("C:/Temp/MyDocument.pdf");
Thanks,
ceTe Software Support Team.