SignatureLine class

SignatureLine class

Represent the signature line.

The SignatureLine type exposes the following members:

Constructors

ConstructorDescription
__init__(self)Constructs a new instance of SignatureLine

Properties

PropertyDescription
idGets or sets identifier for this signature line.
provider_idGets or sets the id of signature provider.
signerGets or sets the signer.
titleGets or sets the title of singer.
emailGets or 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 or sets the text shown to user at signing time.
signature_line_typeGets 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