Table of Contents

Property MaxRevisions

Namespace
PdfSharp.Pdf.Signatures
Assembly
PdfSharp.dll

MaxRevisions

Gets the most revisions a file may have to be checked, counted by its %%EOF markers (including any inside streams, such as embedded files); 64 by default. Earlier revisions are read on their own, each a copy of the file up to its end, so a small file with thousands of updates would cost time and memory that grow with the square of their number. A file with more throws System.InvalidOperationException rather than give an answer that could leave out a signature a later update removed.

public int MaxRevisions { get; init; }

Property Value

int