DocumentDevice.Process

Process(Document, int, int, Stream)

Each device represents some operation on the document, e.g. we can convert pdf document into another format.

public abstract void Process(Document document, int fromPage, int toPage, Stream output)
ParameterTypeDescription
documentDocumentThe document to process.
fromPageInt32Defines the page from which to start processing.
toPageInt32Defines the last page to process.
outputStreamDefines stream where the results of processing are stored.

See Also


Process(Document, Stream)

Processes the whole document and saves results into stream.

public void Process(Document document, Stream output)
ParameterTypeDescription
documentDocumentThe document to process.
outputStreamDefines stream where the results of processing are stored.

See Also


Process(Document, string)

Processes the whole document and saves results into file.

public void Process(Document document, string outputFileName)
ParameterTypeDescription
documentDocumentThe document to process.
outputFileNameStringDefines file where the results of processing are stored.

See Also


Process(Document, int, int, string)

Processes certain pages of the document and saves results into file.

public void Process(Document document, int fromPage, int toPage, string outputFileName)
ParameterTypeDescription
documentDocumentThe document to process.
fromPageInt32The first page to start processing.
toPageInt32The last page of processing.
outputFileNameStringDefines file where the results of processing are stored.

See Also