←选择平台

Fillfieldsinformation方法

概括
更新通过ledstools.forms.formsocessing.formpages通过在识别阶段填充外部信息,但在处理阶段之前。
句法
C#
VB
C ++
爪哇
上市空白Fillfieldsinformation(栅格图形式,,,,formentionatitionAttributesMasterattributes,,,,formentionatitionAttributes格式,,,,形式页面,,,,列表<pagealignment>对齐
上市Fillfieldsinformation(_byval形式作为栅格图,_byvalMasterattributes作为formentionatitionAttributes,_byval格式作为formentionatitionAttributes,_byval页面作为形式,_byval对齐作为列表(pagealignment)_
上市空白Fillfieldsinformation(栅格图形式,,,,formentionatitionAttributesMasterattributes,,,,formentionatitionAttributes格式,,,,形式页面,,,,java.util.list <pagealignment>对齐);
上市空白Fillfieldsinformation(栅格图^形式,,,,formercognitionAttributes^Masterattributes,,,,formercognitionAttributes^格式,,,,formpages^页面,,,,列表^对齐

参数

形式
形式图像。

Masterattributes
主表单属性对象。

格式
表单属性对象。

页面
ledstools.forms.formsocessing.formpages需要更新识别信息。

对齐
每个页面的对齐列表ledstools.forms.formsocessing.formpages

评论

用户应调用此功能更新ledstools.forms.formsocessing.formpages为了获得更好的结果并解决可能发生的许多识别问题。

例子
C#
VB
使用LeadTools;使用leadtools.barcode;使用Leadtools.codecs;使用leadtools.forms.common;使用LeadTools.ocr;使用leadtools.forms.formsocessing;使用leadtools.forms.revention;使用leadtools.forms.rencognition.barcode;使用leadtools.forms.recognition.ocr;///此方法将比较表单主表单,如果它们匹配,则更新表单formpages。上市空白FillfieldSInformation(栅格图表,formpages页面,formercognitionAttributes formattributes,formRecognitionAttributes MasterAttributes,FormRecognitionEngine Engine){formRecognitionResult结果= Engine.compareform(MasterAttributes,Formattributes,无效的);//检查我们是否有良好的结果,然后更新页面以在过程阶段使用如果(结果!=无效的&& result.reason == formrecognitionreason.success && result.confivence> 50){//将所有页面对齐中保存在列表中,然后将它们传递给FillfieldSinformation列表 Alignments =新的列表();为了((inti = 0;i ADD.ADD(result.pageresults [i]。对准);//页面将被更新Engine.fillfieldsinformation(形式,MasterAttributes,formattributes,pages,对齐);}}
进口LeadTools进口LeadTools.barcode进口LeadTools.codecs进口leadtools.forms.common进口leadtools.ocr进口leadtools.forms.formsocessing进口leadtools.forms.revention进口leadtools.forms.rencognition.barcode进口leadtools.forms.recognition.ocr'''该方法将比较表单主表单,如果它们匹配,则更新表单式。上市Fillfieldsinformation(表格作为栅格图,页面作为形式,格式作为formercognitionAttributes,MasterAttributes作为formercognitionAttributes,引擎作为formrecognitionEngine)暗淡结果作为FormRecognitionResult = Engine.comPareform(MasterAttributes,Formattributes,没有什么'检查我们是否有良好的结果,然后更新页面以在过程阶段使用如果结果不是没有什么并且结果并且结果。自信> 50然后'保存所有页面对齐,并将其传递给FillfieldSinformation暗淡对齐作为新的列表(pagealignment)()()为了一世作为整数= 0结果。数数-1ADD.ADD(结果。下一个'页面将被更新Engine.fillfieldsinformation(形式,MasterAttributes,Formattributes,Pages,对齐)结尾如果结尾
要求

目标平台

leadtools.forms.reventitionsbly
188金宝搏的网址客服|支持|联系我们|知识产权通知
©1991-2021Lead Technologies,Inc。版权所有。