SignatureLine class
SignatureLine class
Represent the signature line.
The SignatureLine type exposes the following members:
Constructors
Constructor | Description |
---|---|
__init__(self) | Constructs a new instance of SignatureLine |
Properties
Property | Description |
---|---|
id | Gets or sets identifier for this signature line. |
provider_id | Gets or sets the id of signature provider. |
signer | Gets or sets the signer. |
title | Gets or sets the title of singer. |
Gets or sets the email of singer. | |
is_line | Indicates whether it is a signature line. |
allow_comments | Indicates whether comments could be attached. |
show_signed_date | Indicates whether show signed date. |
instructions | Gets or sets the text shown to user at signing time. |
signature_line_type | 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. |
Example
from aspose.cells import Workbook
from aspose.cells.drawing import SignatureLine
# Instantiating a Workbook object
workbook = Workbook()
worksheet = workbook.worksheets[0]
# Create signature line object
s = 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.
signatureLine = worksheet.shapes.add_signature_line(0, 0, s)
# do your business
# Save the excel file.
workbook.save("result.xlsx")
See Also
- module
aspose.cells.drawing