public void AddSignature() {
Workbook wb = new Workbook();
ISignature signature = wb.getSignatures().addSignatureLine(wb.getActiveSheet(), 100, 50);
ISignatureSetup setup = signature.getSetup();
setup.setShowSignDate(false);
setup.setAllowComments(false);
setup.setSigningInstructions("Please check the content before signing");
setup.setSuggestedSignerEmail("example@example.com");
setup.setSuggestedSignerLine2("Commander (Balanced)");
wb.save("output/SignatureLines.xlsx");
}
参考资料:"https://www.grapecity.com.cn/developer/grapecitydocuments/exc..." (https://link.segmentfault.com/?enc=riPDu2KwaXbSnXEJ3An58Q%3D%3D.JkH%2FA4eqUKMacoeHRdJ7S%2B5E3wy%2Bt6G8a4otFzjGFIXQFfpYU3%2FRM%2BxKXCNUBpF5DjGCmkKXrtEFtIpPuWztJPtB69BbOyYAZlzMREXbb4EhnZHPTYkGn8R1KjM4TCp%2B1WawXQfXTIMdrD7DnzwVGA%3D%3D)