SetSignProcessFieldPage

Security and Signatures

Description

Specifies the page number where the new signature field will be placed. By default the signature field will be attached to the first page in the document.

If the field name specified by SetSignProcessField already exists then a call to this function will be ignored and the field will remain on the page it is currently attached to.

Syntax

Delphi

function TPDFlib.SetSignProcessFieldPage(SignProcessID, SignaturePage: Integer): Integer;

ActiveX

Function PDFlib::SetSignProcessFieldPage(SignProcessID As Long, SignaturePage As Long) As Long

DLL

int DLSetSignProcessFieldPage(int InstanceID, int SignProcessID, int SignaturePage);

Parameters

SignProcessIDA value returned by the NewSignProcessFromFile, NewSignProcessFromStream or NewSignProcessFromString functions.
SignaturePageThe number of the page that the signature should appear on.

Return values

0The SignProcessID parameter is invalid
1Success