public void create_pdf_sign() { string[] files = Directory.GetFiles(@"C:\Users\Rosen.rusev\Pictures\Presenter"); PdfAManager manager = new PdfAManager(); string fileName = "C:\\test\\SES724-320377-0013491924-5.pdf"; string signedFileName = "C:\\test\\SES724-320377-0013491924-5_Signed.pdf"; using (var bmp = (Bitmap)Bitmap.FromFile("C:\\test\\SES724-320377-0013491924-5.jpg")) { manager.CreatePdf(fileName, new Bitmap[] { bmp }, new PdfCreationInfo() { Title = "Voucher SES724-320377-0013491924-5", Subject = "Retailer 320377", Author = "PTF Spain", Creator = "PTF Spain" }); } manager.SignPdfFile( fileName, signedFileName, new PdfSignInfo() { pfxFilePath = @"C:\PROJECTS\VPrint2\ReceivingServiceLib.Common\PTF.pfx", pfxKeyPass = "", DocPass = null, SignImagePath = @"C:\PROJECTS\VPrint2\ReceivingServiceLib.Common\Resources\PTFLogo.jpg", ReasonForSigning = "Voucher SES724-320377-0013491924-5", Location = "Madrid, Spain" }); }