Class CachePolicy
- Namespace
- NetPdf
- Assembly
- NetPdf.dll
Controls per-document and process-level caching of fetched resources, parsed fonts, and shaped glyph runs. Defaults are tuned for typical document workloads.
public sealed class CachePolicy
- Inheritance
-
CachePolicy
- Inherited Members
Properties
Default
public static CachePolicy Default { get; }
Property Value
MaxCachedFontFaces
Cap on the process-wide font cache (parsed font faces).
public int MaxCachedFontFaces { get; init; }
Property Value
MaxCachedGlyphRuns
Cap on the per-document shaped-glyph-run cache.
public int MaxCachedGlyphRuns { get; init; }
Property Value
MaxCachedStylesheets
Cap on the per-document parsed-stylesheet cache.
public int MaxCachedStylesheets { get; init; }