Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfFontInspectionOptions

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Source revision e31b305980e3 with working tree changes
Modifiers sealed

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

Inheritance

  • Object
  • PdfFontInspectionOptions

Usage

Explore 2 API references to this type

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

Accepted by parameters 2

Constructors

public PdfFontInspectionOptions() #

Properties

public Boolean InspectEmbeddedProgramMetadata { get; init; } #

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

public Boolean IncludeEmbeddedProgramBytes { get; init; } #

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

public Int32 MaxEmbeddedProgramBytes { get; init; } #

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

public Int32 MaxToUnicodeBytes { get; init; } #

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

public Int64 MaxTotalDecodedFontBytes { get; init; } #

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

public Int32 MaxFonts { get; init; } #

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

public Int32 MaxResourceDepth { get; init; } #

Maximum nested Form XObject resource depth. Default: 32.

public Int32 MaxResourceReferences { get; init; } #

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

public Int32 MaxFormResourceTraversals { get; init; } #

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

public Int32 MaxResourcePathCharacters { get; init; } #

Maximum characters retained in one resource path. Default: 4,096.

public Int64 MaxTotalResourcePathCharacters { get; init; } #

Maximum aggregate resource-path characters visited by one inspection. Default: 4 MiB.

public Int32 MaxDiagnostics { get; init; } #

Maximum diagnostics retained by one inspection. Default: 10,000.