Link Search Menu Expand Document

DocumentParserParseDocumentPageRange Method (Stream, String)

Process a part of the document using loaded templates.

Namespace:ByteScout.DocumentParser
Assembly: ByteScout.DocumentParser (in ByteScout.DocumentParser.dll) Version: 6.4.1.617-master
Syntax
public ParsingResult[] ParseDocumentPageRange(
	Stream inputStream,
	string ranges
)

Parameters

inputStream
Type: System.IOStream
Stream that contains the input document.
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".

Return Value

Type: ParsingResult
Returns array of ParsingResult objects.
See Also

Reference