IDocumentOptimizerOptimizeDocument Method (Stream, Stream)ByteScout PDF Extractor SDK
Optimizes PDF document with default options.

Namespace:  Bytescout.PDFExtractor
Assembly:  Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 12.0.0.4062-master
Syntax

void OptimizeDocument(
	Stream sourceDocumentStream,
	Stream destinationDocumentStream
)

Parameters

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

Reference