Table of Contents

Enum FeatureFlags

Namespace
NetPdf
Assembly
NetPdf.dll

Opt-in flags that toggle experimental or non-default behavior. v1 ships with all non-default flags off; consumers opt in deliberately.

[Flags]
public enum FeatureFlags

Fields

Default = 0
DeterministicTimestamps = 8

Freeze /CreationDate and /ModDate to a stable timestamp so byte-equal inputs produce byte-equal outputs. Recommended in CI.

EnableContainerQueries = 1

Render @container queries (post-v1; experimental).

EnableSubgrid = 2

Render subgrid values (post-v1; experimental).

GenerateOutlines = 16

Generate PDF outlines (bookmarks) from <h1><h6>.

StrictUnsupportedCss = 4

Throw HtmlPdfException instead of emitting a warning when an unsupported CSS feature is encountered. Useful in CI pipelines that should fail closed.