GetSignProcessEstimatedContentsBytes

Security and signatures

Description

Returns the raw-byte capacity reserved for the most recent signature /Contents value produced by a sign process

Syntax

Delphi

Function TPDFlib.GetSignProcessEstimatedContentsBytes(SignProcessID: Integer): Integer;

ActiveX

Function PDFlib::GetSignProcessEstimatedContentsBytes(SignProcessID As Long) As Long

DLL

int DLGetSignProcessEstimatedContentsBytes(int InstanceID, int SignProcessID);

Parameters

SignProcessIDValue returned by a NewSignProcessFrom* function

Return values

Returns the aligned raw-byte capacity after an EndSignProcessTo* call, or 0 before estimation and for an invalid process id

Remarks

The PDF stores the value as hexadecimal text, so its encoded placeholder contains twice this number of hex characters

Read the value before calling ReleaseSignProcess

See also

SetSignProcessContentsEstimate, GetSignProcessResult