SignatureLine

SignatureLine class

Represent the signature line.

public class SignatureLine

Constructors

Name Description
SignatureLine() The default constructor.

Properties

Name Description
AllowComments { get; set; } Indicates whether comments could be attached.
Email { get; set; } Gets and sets the email of singer.
Id { get; set; } Gets or sets identifier for this signature line.
Instructions { get; set; } Gets and sets the text shown to user at signing time.
IsLine { get; set; } Indicates whether it is a signature line.
ProviderId { get; set; } Gets and sets the id of signature provider.
ShowSignedDate { get; set; } Indicates whether show signed date.
Signer { get; set; } Gets and sets the signer.
Title { get; set; } Gets and sets the title of singer.

Examples


[C#]

//Instantiating a Workbook object
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets[0];

//Adding a picture
int imgIndex = worksheet.Pictures.Add(1, 1, "sample.png");
Picture pic = worksheet.Pictures[imgIndex];
// Create signature line object
SignatureLine s = new SignatureLine();
s.Signer = "Simon Zhao";
s.Title = "Development Lead";
s.Email = "Simon.Zhao@aspose.com";
// Assign the signature line object to Picture.SignatureLine property
pic.SignatureLine = s;

//do your business

//Save the excel file.
workbook.Save("result.xlsx");

See Also