THPDFHeadlessAnnotationRemovalOptions.Default method

class function Default: THPDFHeadlessAnnotationRemovalOptions; static;

Returns an initialized THPDFHeadlessAnnotationRemovalOptions record with the following values

MemberValue
MaxAnnotations65536
MaxOperations8000000
MaxNameBytes16 MiB
MaxWorkingBytes128 MiB
CancellationTokennil
Options := THPDFHeadlessAnnotationRemovalOptions.Default;
Options.MaxAnnotations := 4096;
Options.MaxWorkingBytes := 32 * 1024 * 1024;

These are removal defaults, not a replacement for document, Windows transaction or callback operation limits; the effective surrounding capacities can be lower

A zero-initialized record has invalid numeric capacities and should not be passed directly to a removal method