GetDeterministicDocumentID

Document properties, Optimisation

Description

Queries whether reproducible trailer file identifiers are enabled for save operations

Syntax

Delphi

Function TPDFlib.GetDeterministicDocumentID: Integer;

Return values

0Time-derived file identifiers are used (default).
1Reproducible file identifiers are enabled.

Remarks

Use SetDeterministicDocumentID to toggle this setting and SetDocumentIDSeed to control the seed material

Example

if PDF.GetDeterministicDocumentID = 0 then
  PDF.SetDeterministicDocumentID(1);

See also

SetDeterministicDocumentID, SetDocumentIDSeed