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

    Parameters

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