SignOptions class

SignOptions class

Allows to specify options for document signing. To learn more, visit the Work with Digital Signatures documentation article.

Constructors

NameDescription
SignOptions()The default constructor.

Properties

NameDescription
application_versionGets or sets the application version for the digital signature. Default value is “12.0”.
color_depthGets or sets the color depth for the digital signature. Default value is 32.
commentsSpecifies comments on the digital signature. Default value is empty string().
decryption_passwordThe password to decrypt source document. Default value is empty string ().
horizontal_resolutionGets or sets the horizontal resolution for the digital signature. Default value is 1920.
office_versionGets or sets the Office version for the digital signature. Default value is “12.0”.
provider_idSpecifies the class ID of the signature provider. Default value is Empty (all zeroes) Guid.
sign_timeThe date of signing. Default value is current time (datetime.datetime.now)
signature_line_idSignature line identifier. Default value is Empty (all zeroes) Guid.
signature_line_imageThe image that will be shown in associated SignatureLine. Default value is None.
vertical_resolutionGets or sets the vertical resolution for the digital signature. Default value is 1200.
windows_versionGets or sets the Windows version for the digital signature. Default value is “6.1”.
xml_dsig_levelSpecifies the level of a digital signature based on XML-DSig standard. The default value is XmlDsigLevel.XML_D_SIG.

See Also