API Reference
PdfOptimizationReport
Optimization opportunities discovered without modifying the PDF.
Inheritance
- Object
- PdfOptimizationReport
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
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 Int64 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 Int32 StreamCount { get; } #Total stream count.
public Int64 TotalStreamBytes { get; } #Total retained bytes across parsed streams.
public Int32 DuplicateStreamGroupCount { get; } #Number of duplicate stream candidate groups.
public Int32 DuplicateStreamObjectCount { get; } #Number of stream objects participating in duplicate stream candidate groups.
public Boolean HasDuplicateStreams { get; } #True when duplicate stream candidates were found.
public Int64 LargestStreamBytes { get; } #Largest retained stream length in bytes.
public Int32 FindingCount { get; } #Number of optimization findings.
public Boolean HasOptimizationOpportunities { get; } #True when the report found any concrete optimization opportunity.
public Int32 ImageStreamCount { get; } #Image stream count.