InvoiceParserParseDocument Method (Stream, Stream, 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(
	Stream inputStream,
	Stream outputStream,
	OutputFormat outputFormat = OutputFormat.JSON,
	bool generateCsvHeaders = true
)

Parameters

inputStream
Type: System.IOStream
Input document stream.
outputStream
Type: System.IOStream
Output stream.
outputFormat (Optional)
Type: ByteScout.InvoiceParserOutputFormat
Output data 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