SetTimeStampRetryCount

Page manipulation

Requires the Enterprise edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibEnterprise (unit PDFlibEnterprise); the Enterprise DLL and ActiveX builds provide it unchanged; other editions keep the method, which returns 0, an empty string or False and sets LastErrorCode to 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)

Description

Configures TSA retry attempts

Syntax

Delphi

Function SetTimeStampRetryCount(RetryCount: Integer): Integer; Virtual;

ActiveX

Function PDFlib::SetTimeStampRetryCount(RetryCount As Long) As Long

DLL

int DLSetTimeStampRetryCount(int InstanceID, int RetryCount);

Parameters

RetryCount0..10 extra attempts after transport failures or 5xx replies; values above 10 clamp to 10

Return values

1 when the policy was stored, 0 for negative input

Remarks

Attempts wait a linear backoff (250 ms times the attempt number) before repeating the POST; the fetch side treats any value outside 0..10 as single-shot

See also

SetTimeStampOptions, FetchTimeStampToken