PdfOptimizationReport
OfficeIMO.Pdf
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.
Returned or exposed by 4
Inherited Methods
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 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 bool HasOptimizationOpportunities { get; } #True when the report found any concrete optimization opportunity.