API Reference

Class

PdfFontInspectionOptions

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Controls bounded inspection of font resources declared by PDF pages and nested Form XObjects.

Inheritance

  • Object
  • PdfFontInspectionOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Properties

public Boolean InspectEmbeddedProgramMetadata { get; set; } #

Parses bounded embedded OpenType and TrueType programs into EmbeddedOpenTypeInfo. Default: true.

public Boolean IncludeEmbeddedProgramBytes { get; set; } #

Includes decoded embedded font program bytes in EmbeddedProgramBytes. Disabled by default so inventory operations do not retain font programs unnecessarily.

public Int32 MaxEmbeddedProgramBytes { get; set; } #

Maximum decoded bytes retained for one embedded font program. Default: 16 MiB.

public Int32 MaxToUnicodeBytes { get; set; } #

Maximum decoded bytes processed for one ToUnicode character map. Default: 4 MiB.

public Int64 MaxTotalDecodedFontBytes { get; set; } #

Maximum aggregate decoded bytes processed across ToUnicode maps and embedded font programs. Default: 64 MiB.

public Int32 MaxFonts { get; set; } #

Maximum unique font dictionaries returned by one inspection. Default: 4,096.

public Int32 MaxResourceDepth { get; set; } #

Maximum nested Form XObject resource depth. Default: 32.

public Int32 MaxResourceReferences { get; set; } #

Maximum declared font references returned by one inspection. Default: 100,000.

public Int32 MaxFormResourceTraversals { get; set; } #

Maximum nested Form XObject resource-context traversals performed by one inspection. Default: 10,000.