Link Search Menu Expand Document

IDocumentSplitterRemoveUnusedResources Method (Stream, Stream)

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: 13.4.0.4760-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