DocumentParserParseDocumentPageRange Method (Stream, String, OutputFormat, CSVOptions)
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
Process a part of the document.
Namespace:ByteScout.DocumentParserAssembly: 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: StringReturns parsed document data in JSON or YAML format.
See Also