Link Search Menu Expand Document

HelpersTestTemplate Method (String, Stream, String, String, String, String)

Test template against document.

Namespace:ByteScout.DocumentParser
Assembly: ByteScout.DocumentParser (in ByteScout.DocumentParser.dll) Version: 6.4.1.617-master
Syntax
public static ParsingResult[] TestTemplate(
	string template,
	Stream inputStream,
	string pdfPassword,
	string ocrLanguageDataFolder,
	out string documentText,
	out string parsingLog
)

Parameters

template
Type: SystemString
The template as String.
inputStream
Type: System.IOStream
Stream that contains test file (PDF or image).
pdfPassword
Type: SystemString
PDF document password.
ocrLanguageDataFolder
Type: SystemString
Folder that contains OCR language data files.
documentText
Type: SystemString
Document text used for parsing.
parsingLog
Type: SystemString
Error log.

Return Value

Type: ParsingResult
Parsing results. Returns null if error.
See Also

Reference