IDocumentSplitterRemoveUnusedResources Method (Stream, Stream)ByteScout PDF Extractor SDK
Removes unused resources from PDF document. This method is called internally when OptimizeSplittedDocuments property is true, so you may need it to optimize documents previously splitted without the optimization.

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

void RemoveUnusedResources(
	Stream sourceDocumentStream,
	Stream destinationDocumentStream
)

Parameters

sourceDocumentStream
Type: System.IOStream
Source PDF document stream to remove unused resources.
destinationDocumentStream
Type: System.IOStream
Output document stream.
See Also

Reference