DocumentParserParseDocumentPageRange Method (Stream, Int32, Int32, Stream, OutputFormat, CSVOptions)ByteScout Document Parser SDK
Process a part of the document.

Namespace:  ByteScout.DocumentParser
Assembly:  ByteScout.DocumentParser (in ByteScout.DocumentParser.dll) Version: 6.4.1.617-master
Syntax

public bool ParseDocumentPageRange(
	Stream inputStream,
	int startPage,
	int endPage,
	Stream outputStream,
	OutputFormat outputFormat = OutputFormat.JSON,
	CSVOptions csvOptions = null
)

Parameters

inputStream
Type: System.IOStream
Input document stream.
startPage
Type: SystemInt32
Start page index.
endPage
Type: SystemInt32
End page index. -1 means all pages to the document end.
outputStream
Type: System.IOStream
Output stream.
outputFormat (Optional)
Type: ByteScout.DocumentParserOutputFormat
Output data format.
csvOptions (Optional)
Type: ByteScout.DocumentParserCSVOptions
CSV format options.

Return Value

Type: Boolean
Returns true if the document is matched a template and parsed successfully; otherwise false.
See Also

Reference