Discuss this help topic in SecureBlackbox Forum

TElOfficeDocument.AddSignature

TElOfficeDocument     See also     


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


Adds signature to the document.

Declaration

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

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

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

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

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

[Java]
    int addSignature(TElOfficeCustomSignatureHandler Handler, boolean OwnHandler);
    int addSignature(TElOfficeCustomSignatureHandler 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