Discuss this help topic in SecureBlackbox Forum

TElOfficeOpenXMLPackage.AddSignature

TElOfficeOpenXMLPackage     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Adds signature to the document.

Declaration

[C#]
    int AddSignature(TElOfficeOpenXMLCustomSignatureHandler Handler);
    int AddSignature(TElOfficeOpenXMLCustomSignatureHandler Handler, bool OwnHandler);

[VB.NET]
    Function AddSignature(ByVal Handler As TElOfficeOpenXMLCustomSignatureHandler) As Integer
    Function AddSignature(ByVal Handler As TElOfficeOpenXMLCustomSignatureHandler, ByVal OwnHandler As Boolean) As Integer

[Pascal]
    function AddSignature(Handler : TElOfficeOpenXMLCustomSignatureHandler) : Integer; overload;
    function AddSignature(Handler : TElOfficeOpenXMLCustomSignatureHandler; OwnHandler : Boolean) : Integer; overload;

[C++]
    int32_t AddSignature(TElOfficeOpenXMLCustomSignatureHandler &Handler);
    int32_t AddSignature(TElOfficeOpenXMLCustomSignatureHandler *Handler);
    int32_t AddSignature(TElOfficeOpenXMLCustomSignatureHandler &Handler, bool OwnHandler);
    int32_t AddSignature(TElOfficeOpenXMLCustomSignatureHandler *Handler, bool OwnHandler);

[PHP]
    integer AddSignature(TElOfficeOpenXMLCustomSignatureHandler $Handler)
    integer AddSignature(TElOfficeOpenXMLCustomSignatureHandler $Handler, bool $OwnHandler)

[Java]
    int addSignature(TElOfficeOpenXMLCustomSignatureHandler Handler, boolean OwnHandler);
    int addSignature(TElOfficeOpenXMLCustomSignatureHandler Handler);

Parameters

  • Handler - security handler to be used for signing
  • OwnHandler - specifies if the security handler is owned by the document. If this parameter is False or omitted, user should take care of handler object disposal.

Return value

    Returns number of the newly added security handler in the list.

Description

    Use this method to add signature to the document.

See also:     RemoveSignature     Signable     SignatureHandlers    

Discuss this help topic in SecureBlackbox Forum