SetSignProcessField

Security and Signatures

Description

Sets the signature field to use for a digital signature process.

If a field with a specified name is not found a new signature field will be added with the given name. The new field will be invisible (zero width and height) and will be attached to the first page in the document. Call SetSignProcessFieldBounds to set location and size of new form field and SetSignProcessFieldPage to set the page it is placed on.

Syntax

Delphi

function TPDFlib.SetSignProcessField(SignProcessID: Integer; Const SignatureFieldName: WideString): Integer;

ActiveX

Function PDFlib::SetSignProcessField(SignProcessID As Long, SignatureFieldName As String) As Long

DLL

int DLSetSignProcessField(int InstanceID, int SignProcessID, wchar_t * SignatureFieldName);

Parameters

SignProcessIDA value returned by the NewSignProcessFromFile, NewSignProcessFromStream or NewSignProcessFromString functions.
SignatureFieldNameThe name of the signature form field