Class SignatureLine
Contents
[
Hide
]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 or sets the email of singer. |
Id { get; set; } | Gets or sets identifier for this signature line. |
Instructions { get; set; } | Gets or sets the text shown to user at signing time. |
IsLine { get; set; } | Indicates whether it is a signature line. |
ProviderId { get; set; } | Gets or sets the id of signature provider. |
ShowSignedDate { get; set; } | Indicates whether show signed date. |
SignatureLineType { get; set; } | Gets or sets the signature type. Default - When the default value is set, the corresponding ProviderId value is fixed to {0000000000-0000-0000-0000-0000000000}. Stamp - When the value is Stamp, the corresponding ProviderId value is usually {000CD6A4-0000-0000-C000-000000000046}. Custom - When the value is Custom, the corresponding ProviderId value usually needs to be set by the user. it should be obtained from the documentation shipped with the provider. |
Signer { get; set; } | Gets or sets the signer. |
Title { get; set; } | Gets or sets the title of singer. |
Examples
[C#]
//Instantiating a Workbook object
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets[0];
// Create signature line object
SignatureLine s = new SignatureLine();
s.Signer = "Simon";
s.Title = "Development";
s.Email = "simon@aspose.com";
s.Instructions = "Sign to confirm the excel content.";
// Adds a Signature Line to the worksheet.
Picture signatureLine = worksheet.Shapes.AddSignatureLine(0, 0, s);
//do your business
//Save the excel file.
workbook.Save("result.xlsx");
See Also
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells