Documents for Excel, Java Edition Documentation
File Operations / Export to PDF / Export Signature Lines
In This Topic
    Export Signature Lines
    In This Topic

    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 setSkipCertificateValidationOnExporting method 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.

    Copy Code
    // Create a new workbook
    Workbook workbook = new Workbook();"Signature.xlsx");
    // save to a pdf file"ExportSignatureLineToPDF.pdf");