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 = 0DeterministicTimestamps = 8Freeze
/CreationDateand/ModDateto a stable timestamp so byte-equal inputs produce byte-equal outputs. Recommended in CI.EnableContainerQueries = 1Render
@containerqueries (post-v1; experimental).EnableSubgrid = 2Render
subgridvalues (post-v1; experimental).GenerateOutlines = 16Generate PDF outlines (bookmarks) from
<h1>–<h6>.StrictUnsupportedCss = 4Throw HtmlPdfException instead of emitting a warning when an unsupported CSS feature is encountered. Useful in CI pipelines that should fail closed.