IDocumentOptimizerOptimizeDocument Method (Stream, Stream, OptimizationOptions)ByteScout PDF Extractor SDK
Optimizes PDF document.

Namespace:  Bytescout.PDFExtractor
Assembly:  Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 12.0.0.4062-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