Save signed Spreadsheet with different output file type
Leave feedback
Signature class supports saving of Spreadsheet signed documents with different output file types. Each document type has list of compatible saving type. These values are listed in enum SpreadsheetSaveFileFormat.
Here are the steps to save signed Spreadsheet 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.
Following example demonstrates how to save signed Spreadsheet document with different output type
Signaturesignature=newSignature("sample.xlsx");// create QRCode option with predefined QRCode text
QrCodeSignOptionssignOptions=newQrCodeSignOptions("JohnSmith");signOptions.setEncodeType(QrCodeTypes.QR);signOptions.setLeft(100);signOptions.setTop(100);SpreadsheetSaveOptionssaveOptions=newSpreadsheetSaveOptions();saveOptions.setFileFormat(SpreadsheetSaveFileFormat.Pdf);saveOptions.setOverwriteExistingFiles(true);// sign document to file
signature.sign("SignedXlsx.pdf",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.