How to sign a PDF document

Posted by: ashokhurkat on 19 December 2019, 7:18 pm EST

  • Posted 19 December 2019, 7:18 pm EST

    Dear Support
    I have created a PDF document with help of c1 report and pdf object.
    Now i want to sign it with a predefined digital signature which is stored in .pfx file.
    can you help how can i achieve above
  • Marked as Answer

    Replied 22 December 2019, 6:05 pm EST

    Hello,

    C1PdfDocument API allows you to add signatures to a PDF generated through the same API. As you are exporting a C1Report to PDF and using the same for signature, I would suggest you to first load the C1Report to C1PrintDocument instance, as follows:
    C1PrintDocument doc = new C1PrintDocument();
    doc.ImportC1Report("NWind.xml", "Alphabetical List of Products");


    Then, use the steps mentioned in the following blog post where the C1PrintDocument pages are added to C1PdfDocument as metafiles and further, the "PdfSignature" field is added:
    https://www.grapecity.com/blogs/export-c1printdocument-to-pdf-with-digital-signature

    For other ComponentOne WinForms related queries, please create a case on this forum: https://www.grapecity.com/forums/winforms-edition
    Note: https://www.grapecity.com/forums/c1-studio/c1report-is-now-obsolete-t

    Thanks,
    Esha
  • Replied 20 July 2021, 1:48 am EST

    Hello,
    Signing PDFs was my least favorite thing because it would take a lot of time to do it, and I wouldn't say I liked that. It was so nice when I found https://pdfliner.com/sign_pdf_online , a website that lets you sign any PDF document. The time it takes to do it was much less than it took me to do it before, and that's the best thing about it.
    The website is easy to use, and anyone who's not that good with technology can find their way around. You can choose to have a signature you want, and there are many styles to choose from. I've been using it a lot in the past few weeks, and I love it.
  • Replied 5 July 2021, 4:12 pm EST

    Hello,

    Could you please tell which product are you using? AR or C1Report or FlexReport?

    Thanks,
    Mohit
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels