Is it possible to sign (not add) Microsoft Signature Line to an excel file? I want to sign on Microsoft Signature Line like in ASPOSE Word (See Example).
I can only “add” digital signature, but cannot “sign” to the existing digital signature line at the specified location in the Excel wookbook or worksheet.
How could you accomplish the task in MS Excel manually, please provide details and sample Excel file? If MS Excel allows this or supports this feature, then Aspose.Cells should also support this functionality as Aspose.Cells follows MS Excel standards and specifications.
Your sample file is missing, so you may zip the file prior attaching here. Moreover, we recommend you kindly check the following documents for your reference:
I have evaluated your requirements further. I think you may add a picture (or even use an existing picture in the sheet) and set its signature line in MS Excel via SignatureLine API, see the sample code segment for your reference:
e.g. Sample code:
Workbook workbook = new Workbook(@"e:\test2\book2.xlsx");
int index = workbook.Worksheets[0].Pictures.Add(0, 0, "e:\\test\\school.jpg");
Picture pic = workbook.Worksheets[0].Pictures[index];
SignatureLine s = new SignatureLine();
s.Signer = "Michael";
s.Title = "MMMMM";
s.Email = "abc.ef@jkl.com";
pic.SignatureLine = s;
workbook.Save(@"e:\test2\out1.xlsx");
Thank you for your reply, however, your example is not what I am looking for. I want to programmatically “sign” to the Excel file that has Microsoft Signature Line in the worksheet. The problem with your sample code is that it inserts another Signature Line to the worksheet at the specific location on my code. Is it possible to find the Signature Line object and digitally sign on that Signature Line object?
I am afraid, currently Aspose.Cells does not support to digitally sign Microsoft Signature Line in Excel spreadsheets. A ticket is logged with an id “CELLSNET-47892” for your issue/requirements. We will look into it soon.
Once we support it, we will update you with supported version here.
The issues you have found earlier (filed as CELLSNET-47892) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao