SignatureLine class

SignatureLine class

Represent the signature line.

The SignatureLine type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of SignatureLine

Properties

PropertyDescription
idGets or sets identifier for this signature line.
provider_idGets and sets the id of signature provider.
signerGets and sets the signer.
titleGets and sets the title of singer.
emailGets and sets the email of singer.
is_lineIndicates whether it is a signature line.
allow_commentsIndicates whether comments could be attached.
show_signed_dateIndicates whether show signed date.
instructionsGets 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