Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

Reading SignatureLine from Excel

$
0
0

hi,

i want to read signature line present in Excel file... any help would be appreciated

i had tried workbook.Signature Property.

i need the signature line like following code do:

                   using (var document = WordprocessingDocument.Open(FILENAME, false))
                    {
                        _lstSigVar = document.MainDocumentPart.Document.Descendants<SignatureLine>().ToList();
                        if (_lstSigVar.Count > 0)//check if SigLine(s) present
                        {
                            for (int i = 0; i < _lstSigVar.Count; i++)
                                lstSigners.Items.Add(_lstSigVar[i].Id + " " + _lstSigVar[i].SuggestedSigner);
                        }
                    }

so by above code i got SignatureLine object which is easy to use for further processing



Haseeb Hasan Principle Software Engineer Ascertia Pvt Ltd


Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>