Link Search Menu Expand Document

DocumentParserParseDocumentPageRange Method (String, String, 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 bool ParseDocumentPageRange(
	string inputFileName,
	string ranges,
	string outputFileName,
	OutputFormat outputFormat = OutputFormat.JSON,
	CSVOptions csvOptions = null
)

Parameters

inputFileName
Type: SystemString
Input document file name.
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".
outputFileName
Type: SystemString
Output file name.
outputFormat (Optional)
Type: ByteScout.DocumentParserOutputFormat
Output 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