Link Search Menu Expand Document

DocumentSplitterRemoveUnusedResources 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
public 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.

Implements

IDocumentSplitterRemoveUnusedResources(Stream, Stream)
See Also

Reference