Aspose.Cells kullanarak bir Excel Çalışma Kitabında İmza Satırı oluşturun
Contents
[
Hide
]
Microsoft Excel, eklenecek bir özellik sağlarİmza satırı Excel çalışma kitaplarında. simgesine tıklayarak bir İmza Satırı ekleyebilirsiniz.Sokmak Sekme ve ardından seçmeİmza satırı danMetin grup.
Aspose.Cells de bu özelliği sağlıyor ve ifşa etti.Resim.İmza Satırı Bu amaçla mülk. Bu makale, Aspose.Cells kullanarak bir İmza Satırı eklemek için bu özelliğin nasıl kullanılacağını açıklayacaktır.
Aşağıdaki örnek kod, şunu kullanarak bir İmza Satırı ekler:Resim.İmza Satırıözelliği ve çalışma kitabını kaydeder.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET | |
// The path to the documents directory. | |
string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | |
// Create workbook object | |
Workbook workbook = new Workbook(); | |
// Create signature line object | |
SignatureLine s = new SignatureLine(); | |
s.Signer = "John Doe"; | |
s.Title = "Development Lead"; | |
s.Email = "john.doe@aspose.com"; | |
// Adds a Signature Line to the worksheet. | |
workbook.Worksheets[0].Shapes.AddSignatureLine(1, 1, s); | |
// Save the workbook | |
workbook.Save(dataDir + "output_out.xlsx"); |