SignatureLine class
SignatureLine class
Represent the signature line.
The SignatureLine type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Constructs a new instance of SignatureLine |
Properties
Property | Description |
---|---|
id | Gets or sets identifier for this signature line. |
provider_id | Gets and sets the id of signature provider. |
signer | Gets and sets the signer. |
title | Gets and sets the title of singer. |
Gets and 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 and sets the text shown to user at signing time. |
Example
from aspose.cells import Workbook
from aspose.cells.drawing import SignatureLine
# Instantiating a Workbook object
workbook = Workbook()
worksheet = workbook.worksheets[0]
# Adding a picture
imgIndex = worksheet.pictures.add(1, 1, "sample.png")
pic = worksheet.pictures[imgIndex]
# Create signature line object
s = 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.signature_line = s
# do your business
# Save the excel file.
workbook.save("result.xlsx")
See Also
- module
aspose.cells.drawing