Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfFontInspectionOptions

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
12511d2fa560 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 1 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 1

Constructors

public PdfFontInspectionOptions() #

Properties

public bool InspectEmbeddedProgramMetadata { get; init; } #

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

public bool 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 int MaxEmbeddedProgramBytes { get; init; } #

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

public int MaxToUnicodeBytes { get; init; } #

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

public long MaxTotalDecodedFontBytes { get; init; } #

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

public int MaxFonts { get; init; } #

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

public int MaxResourceDepth { get; init; } #

Maximum nested Form XObject resource depth. Default: 32.

public int MaxResourceReferences { get; init; } #

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

public int MaxFormResourceTraversals { get; init; } #

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

public int MaxResourcePathCharacters { get; init; } #

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

public long MaxTotalResourcePathCharacters { get; init; } #

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

public int MaxDiagnostics { get; init; } #

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