Link Search Menu Expand Document

DocumentParserParseDocumentPageRange Method (Stream, String, OutputFormat, CSVOptions)

Process a part of the document.

Namespace:ByteScout.DocumentParser
Assembly: ByteScout.DocumentParser (in ByteScout.DocumentParser.dll) Version: 6.4.1.617-master
Syntax
public string ParseDocumentPageRange(
	Stream inputStream,
	string ranges,
	OutputFormat outputFormat = OutputFormat.JSON,
	CSVOptions csvOptions = null
)

Parameters

inputStream
Type: System.IOStream
Input document stream.
ranges
Type: SystemString
Comma-separated list of page ranges in form "0-3,5,7-8,10-". Page indices are 0-based. Ending "-" means "to the last page". You can also use inverted page numbers adding '!' before the number. E.g. "!0" means "the last page", "1-!1" means "from the second to the penultimate page", "!1-" - last two pages".
outputFormat (Optional)
Type: ByteScout.DocumentParserOutputFormat
Output data format.
csvOptions (Optional)
Type: ByteScout.DocumentParserCSVOptions
CSV format options.

Return Value

Type: String
Returns parsed document data in JSON or YAML format.
See Also

Reference