Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfOptimizationReport

OfficeIMO.Pdf

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

Optimization opportunities discovered without modifying the PDF.

Inheritance

  • object
  • PdfOptimizationReport

Usage

Explore 4 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.

Properties

public PdfDiagnosticReport Diagnostics { get; } #

Underlying diagnostic report.

public IReadOnlyList<PdfDuplicateStreamGroup> DuplicateStreams { get; } #

Duplicate stream candidate groups.

public IReadOnlyList<PdfStreamDiagnostic> LargestStreams { get; } #

Largest stream objects by retained byte length.

public IReadOnlyList<PdfDiagnosticFinding> Findings { get; } #

Optimization findings and hints.

public long EstimatedSavingsBytes { get; } #

Conservative estimate of bytes that might be saved by lossless object cleanup.

public double EstimatedSavingsRatio { get; } #

Estimated lossless savings divided by the total parsed stream bytes.

public double EstimatedSavingsPercent { get; } #

Estimated lossless savings percentage across parsed stream bytes.

public int StreamCount { get; } #

Total stream count.

public long TotalStreamBytes { get; } #

Total retained bytes across parsed streams.

public int DuplicateStreamGroupCount { get; } #

Number of duplicate stream candidate groups.

public int DuplicateStreamObjectCount { get; } #

Number of stream objects participating in duplicate stream candidate groups.

public bool HasDuplicateStreams { get; } #

True when duplicate stream candidates were found.

public long LargestStreamBytes { get; } #

Largest retained stream length in bytes.

public int FindingCount { get; } #

Number of optimization findings.

public bool HasOptimizationOpportunities { get; } #

True when the report found any concrete optimization opportunity.

public int ImageStreamCount { get; } #

Image stream count.