DigiSignWithStamp

Discussions about PDF management.
Post Reply
MattyBoy
Posts: 8
Joined: Mon Mar 15, 2010 5:46 pm

DigiSignWithStamp

Post by MattyBoy » Tue Sep 30, 2014 12:33 am

I am trying to show the physical image with their signature on the PDF. But all it shows is the textual information regarding the signature. The Image won't show up.

I am currently using GdPicture 9.4.0.13

Any ideas??

Code: Select all

            var ImageId = oGdPictureImaging.CreateGdPictureImageFromFile(@"signature.jpg");
            var image_res_name = oGdPicturePDF.AddImageFromGdPictureImage(ImageId, false, false);
            oGdPictureImaging.ReleaseGdPictureImage(ImageId);

            oGdPicturePDF.SelectPage(1);
            oGdPicturePDF.SetOrigin(PdfOrigin.PdfOriginBottomLeft);
            oGdPicturePDF.DigiSignWithStamp(@"Document.signed.pdf", @"cert.pfx",
                "password", "The Reason", "The Location", "The Contact Info", "John Smith", image_res_name, 0, 0, 300, 100, false);
            oGdPicturePDF.CloseDocument();

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: DigiSignWithStamp

Post by SamiKharma » Thu Oct 16, 2014 12:14 pm

Hi,

Set the last parameter of oGdPicturePDF.AddImageFromGdPictureImage to true.
I think that should do the trick.

Best regards,
Sami

MattyBoy
Posts: 8
Joined: Mon Mar 15, 2010 5:46 pm

Re: DigiSignWithStamp

Post by MattyBoy » Thu Oct 16, 2014 5:57 pm

I got it figured out. Thanks. The version I was using it didn't work. Latest version works.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests