# Export Signature Lines

Use DsExcel to export signature lines to PDF documents. Learn more in DsExcel docs.

## Content

DsExcel 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](/document-solutions/java-excel-api/api/online/v9.2/com/grapecity/documents/excel/ISignatureSet.html#setskipcertificatevalidationonexporting) method of [ISignatureSet](/document-solutions/java-excel-api/api/online/v9.2/com/grapecity/documents/excel/ISignatureSet.html) 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.
Refer to the following example code to export signature lines to a PDF document.

```Java
// Create a new workbook.
Workbook workbook = new Workbook();

workbook.open("Signature.xlsx");
workbook.getSignatures().setSkipCertificateValidationOnExporting(false);

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