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)
Parameter Type Description
document Document The document to process.
fromPage Int32 Defines the page from which to start processing.
toPage Int32 Defines the last page to process.
output Stream Defines 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)
Parameter Type Description
document Document The document to process.
output Stream Defines 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)
Parameter Type Description
document Document The document to process.
outputFileName String Defines 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)
Parameter Type Description
document Document The document to process.
fromPage Int32 The first page to start processing.
toPage Int32 The last page of processing.
outputFileName String Defines file where the results of processing are stored.

See Also