Link Search Menu Expand Document

DocumentParserParseDocumentPageRange Method (String, Int32, Int32, 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,
	int startPage,
	int endPage,
	string outputFileName,
	OutputFormat outputFormat = OutputFormat.JSON,
	CSVOptions csvOptions = null
)

Parameters

inputFileName
Type: SystemString
Input document file name.
startPage
Type: SystemInt32
Start page index.
endPage
Type: SystemInt32
End page index. -1 means all pages to the document end.
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