Save signed Pdf with different output file type
Leave feedback
Signature class supports saving of Pdf signed documents to different formats. Each of document type has list of compatible saving type. These values are listed in enum PdfSaveFileFormat.
Here are the steps to save signed Pdf document to different output type with GroupDocs.Signature:
Create new instance of Signature class and pass source document path or stream as a constructor parameter.
Signaturesignature=newSignature("sample.pdf");// create QRCode option with predefined QRCode text
QrCodeSignOptionssignOptions=newQrCodeSignOptions("JohnSmith");signOptions.setEncodeType(QrCodeTypes.QR);signOptions.setLeft(100);signOptions.setTop(100);PdfSaveOptionssaveOptions=newPdfSaveOptions();saveOptions.setFileFormat(PdfSaveFileFormat.DocX);saveOptions.setOverwriteExistingFiles(true);// sign document to file
signature.sign("SignedPdf.docx",signOptions,saveOptions);
More resources
GitHub Examples
You may easily run the code above and see the feature in action in our GitHub examples:
Along with full-featured .NET library we provide simple, but powerful free Apps. You are welcome to eSign PDF, Word, Excel, PowerPoint documents with free to use online GroupDocs Signature App.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.