HelpersAutodetectFieldExpression Method (Stream, Int32, RectangleF, String, String, String, String)
 Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
 Try to detect common expression to extract field content.
Namespace:ByteScout.DocumentParserAssembly: ByteScout.DocumentParser (in ByteScout.DocumentParser.dll) Version: 6.4.1.617-master
Syntax
public static string[][] AutodetectFieldExpression( Stream inputStream, int pageIndex, RectangleF fieldRectangle, string templateCulture = null, string ocrLanguageDataFolder = null, string ocrLanguage = null, string documentPassword = null )
Parameters
- inputStream
 - Type: System.IOStream
Stream the contains the test document (PDF or image). - pageIndex
 - Type: SystemInt32
Document page index. - fieldRectangle
 - Type: System.DrawingRectangleF
Field rectangle. - templateCulture (Optional)
 - Type: SystemString
Template culture. Default is "en-US". - ocrLanguageDataFolder (Optional)
 - Type: SystemString
Folder that contains OCR language data files. - ocrLanguage (Optional)
 - Type: SystemString
OCR language. - documentPassword (Optional)
 - Type: SystemString
PDF document password. 
Return Value
Type: StringArray of detected template objects.
See Also