Aspose.Cells ile Excel Çalışma Kitabında İmza Satırı Oluşturma
Giriş
Microsoft Excel, Excel çalışma kitaplarına İmza Satırı eklemek için bir özellik sağlar. Aspose.Cells de bu özelliği sağlar ve bunun için {0} özelliğini sunmuştur. Bu makale, bu özelliği kullanmanın nasıl olduğunu açıklar.
Excel için İmza Çizgisi Oluşturmayı
Aspose.Cells aynı özelliği sağlar ve bu amaçla Picture.SignatureLine özelliğini kullanmıştır. Bu makale, bu özelliği kullanmanın nasıl olduğunu açıklayacaktır.
Aşağıdaki örnek kod, Picture.SignatureLine özelliğini kullanarak Bir İmza Satırı ekler ve çalışma kitabını kaydeder.
// 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"); |