Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / ISignature Interface / Sign Method / Sign(X509Certificate2,String,SignatureDetails) Method
The certificate that will be used to sign the workbook.
The signature text of the signature line.
The signature detail of the signature.
In This Topic
    Sign(X509Certificate2,String,SignatureDetails) Method
    In This Topic
    Creates a signature packet for visible signature line.
    Syntax
    void Sign( 
       System.Security.Cryptography.X509Certificates.X509Certificate2 certificate,
       System.string signatureText,
       SignatureDetails details
    )

    Parameters

    certificate
    The certificate that will be used to sign the workbook.
    signatureText
    The signature text of the signature line.
    details
    The signature detail of the signature.
    Exceptions
    ExceptionDescription
    Attempted to sign a non-visible signature line.
    See Also