InvoiceParserParseDocument Method (String, String, OutputFormat, Boolean)ByteScout Invoice Parser SDK
Process document.

Namespace:  ByteScout.InvoiceParser
Assembly:  ByteScout.InvoiceParser (in ByteScout.InvoiceParser.dll) Version: 3.0.0.357-master
Syntax

public bool ParseDocument(
	string inputFileName,
	string outputFileName,
	OutputFormat outputFormat = OutputFormat.JSON,
	bool generateCsvHeaders = true
)

Parameters

inputFileName
Type: SystemString
Input document file name.
outputFileName
Type: SystemString
Output file name.
outputFormat (Optional)
Type: ByteScout.InvoiceParserOutputFormat
Output format.
generateCsvHeaders (Optional)
Type: SystemBoolean
Defines if the first CSV row should contain column headers.

Return Value

Type: Boolean
Returns true if the document is matched a template and parsed successfully; otherwise false.
See Also

Reference