PdfSnapshotMetadata Enum
The optional parts of the JSON metadata file of a PDF snapshot. The PDF version, the number of pages, and the size and rotation of every page are always written.
[Flags]
public enum PdfSnapshotMetadataFields
| Name | Value | Description |
|---|---|---|
None | 0 | Only the PDF version, the number of pages, and the size and rotation of every page. |
Default | 1 | The default metadata: PdfSnapshotMetadata.DocumentInformation. |
DocumentInformation | 1 | The document information: title, author, subject, keywords, creator, producer, language, PDF/A and PDF/UA conformance, and whether the document is encrypted. |
Dates | 2 | The creation and modification dates of the document information. They usually change every time a document is generated, so they are not written by default. |
Text | 4 | The text of every page, one entry per line, as extracted by PdfPage.ExtractText. |
Outlines | 8 | The outlines (bookmarks) of the document: the title of every item, nested as in the document. |
Annotations | 16 | The annotations of every page: subtype, rectangle, contents, and the URI of links. |
All | 31 | All the metadata, except PdfSnapshotMetadata.Content. |
Content | 32 | What every page shows, one line per element (PdfPageElements): the lines of text with their bounding boxes, the images with their size, digest and position, the paths with their paint, colors and bounding boxes, and the shadings. A change of the content shows as changed lines in the diff of the snapshot. It is verbose, so PdfSnapshotMetadata.All does not include it. |