Discuss this help topic in SecureBlackbox Forum

TElOfficeDocument.AddSignature

TElOfficeDocument     See also     


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


Adds signature to the document.

Declaration

[C#/Java]
    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;
    function AddSignature(Handler : TElOfficeCustomSignatureHandler; OwnHandler : boolean) : integer;

[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)

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