[]
        
(Showing Draft Content)

Export Signature Lines

GcExcel supports exporting signature lines to PDF documents. The signature lines are exported as images and the exported signature line is different depending upon the validity of certificate. This validity or invalidity is decided by SkipCertificateValidationOnExporting property of ISignatureSet interface. Its default value is true, meaning that the certificate will be treated as valid. However, you can set it to false to validate the certificate which requires an internet connection.

Using Code

Refer to the following example code to export signature lines to a PDF document.

//create a new workbook
var workbook = new Workbook();

workbook.Open("Signature.xlsx");
workbook.Signatures.SkipCertificateValidationOnExporting = false;

//save to a pdf file
workbook.Save("exportsignaturelinetopdf.pdf");