Link Search Menu Expand Document

IDocumentOptimizerOptimizeDocument Method (Stream, Stream, OptimizationOptions)

Optimizes PDF document.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
void OptimizeDocument(
	Stream sourceDocumentStream,
	Stream destinationDocumentStream,
	OptimizationOptions options
)

Parameters

sourceDocumentStream
Type: System.IOStream
Source stream containing PDF document.
destinationDocumentStream
Type: System.IOStream
Destination stream for compressed PDF document.
options
Type: Bytescout.PDFExtractorOptimizationOptions
Optimization options.
See Also

Reference