SignatureLine clase

SignatureLine clase

Representa la línea de firma.

El tipo SignatureLine expone los siguientes miembros:

Constructores

ConstructorDescripción
__init__(self)Construye una nueva instancia de SignatureLine

Propiedades

PropiedadDescripción
idObtiene o establece el identificador para esta línea de firma.
provider_idObtiene o establece el identificador del proveedor de firma.
signerObtiene o establece el firmante.
titleObtiene o establece el título del cantante.
emailObtiene o establece el correo electrónico del cantante.
is_lineIndica si es una línea de firma.
allow_commentsIndica si se pueden adjuntar comentarios.
show_signed_dateIndica si se muestra la fecha de firma.
instructionsObtiene o establece el texto que se muestra al usuario en el momento de firmar.
signature_line_typeObtiene o establece el tipo de firma.
Predeterminado: cuando se establece el valor predeterminado, el valor de ProviderId correspondiente se fija en {0000000000-0000-0000-0000-0000000000}.
Sello: cuando el valor es Sello, el valor de ProviderId correspondiente suele ser {000CD6A4-0000-0000-C000-000000000046}.
Personalizado: cuando el valor es Personalizado, el valor ProviderId correspondiente generalmente debe ser establecido por el usuario. Debe obtenerse de la documentación enviada con el proveedor.

Ejemplo

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")

Ver también