THPDFHeadlessAnnotationRemovalOptions.Default method
class function Default: THPDFHeadlessAnnotationRemovalOptions; static;
Returns an initialised THPDFHeadlessAnnotationRemovalOptions record with the following values
| Member | Value |
|---|---|
MaxAnnotations | 65536 |
MaxOperations | 8000000 |
MaxNameBytes | 16 MiB |
MaxWorkingBytes | 128 MiB |
CancellationToken | nil |
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-initialised record has invalid numeric capacities and should not be passed directly to a removal method