公共BarcodeReadOptions[]GetAllDefaultOptions ()
公共函数GetAllDefaultOptions ()作为BarcodeReadOptions ()
@ property(原子,强壮,只读的)NSArray < __kindof LTBarcodeReadOptions * > * allDefaultOptions
公共BarcodeReadOptions [] getAllDefaultOptions ()
公共:数组< BarcodeReadOptions ^ > ^GetAllDefaultOptions ();
一个数组的BarcodeReadOptions派生类型包含所有默认选项目前设置在这个阅读BarcodeReader。
的BarcodeReader对象包含一个数组的默认阅读所使用的选项ReadBarcode和ReadBarcodes当没有明确选择方法通过用户。
指的是BarcodeReadOptions类的列表象征学和派生的类型BarcodeReadOptions由LEADTOOLS使用。
选择一个特定的符号,请参考GetDefaultOptions
使用Leadtools;使用Leadtools.Codecs;使用Leadtools.Barcode;使用Leadtools.ImageProcessing;公共无效BarcodeReader_GetAllDefaultOptionsExample (){BarcodeEngine引擎=新BarcodeEngine ();BarcodeReader读者= engine.Reader;/ /显示所有默认选项课读的信息BarcodeReadOptions [] readOptionsArray = reader.GetAllDefaultOptions ();Console.WriteLine (“读选项:“);foreach(BarcodeReadOptions readOptions在readOptionsArray){Console.WriteLine (“{0}({1})支持选择以下象征学:“,readOptions.GetType ()。名字,readOptions.FriendlyName);Console.WriteLine (”“);BarcodeSymbology[]象征学= readOptions.GetSupportedSymbologies ();为(int我= 0;我< symbologies.Length;我+ +){Console.Write(象征学[我]);如果(我! =(象征学。长度- 1)){Console.Write (”、“);}其他的{Console.WriteLine ();}}}}
进口Leadtools进口Leadtools.Codecs进口Leadtools.Barcode进口Leadtools.ImageProcessing公共子BarcodeReader_GetAllDefaultOptionsExample ()昏暗的引擎作为新BarcodeEngine ()昏暗的读者作为BarcodeReader = engine.Reader“显示所有默认选项课读的信息昏暗的readOptionsArray ()作为BarcodeReadOptions = reader.GetAllDefaultOptions ()Console.WriteLine (“读选项:“)为每一个readOptions作为BarcodeReadOptions在readOptionsArrayConsole.WriteLine (“{0}({1})支持选择以下象征学:“,readOptions。方法()。名字,readOptions.FriendlyName)Console.WriteLine (”“)昏暗的象征学()作为BarcodeSymbology = readOptions.GetSupportedSymbologies ()为我作为整数= 0来象征学。长度- 1Console.Write(象征学(我))如果我< >(象征学。长度- 1)然后Console.Write (”、“)其他的Console.WriteLine ()结束如果下一个下一个结束子
帮助收藏
光栅net|C API|c++类库|HTML5 JavaScript
文档net|C API|c++类库|HTML5 JavaScript
医疗net|C API|c++类库|HTML5 JavaScript
医疗Web查看器net
188宝金博怎么下载
支持的平台上
net, Java, Android和iOS / macOS组件
C / c++类库的API
HTML5 JavaScript库
你的邮件已经发送到支持!有人应该联系!如果你的问题是紧急请回到聊天。
聊天时间:
周一——周五,上午6点等
谢谢你的反馈!
请填写表单重新开始一个新的聊天。
所有代理目前离线。
聊天时间:
周一-周五
早上8:30 - 6点
联系我们请填写这张表格,我们将通过电子邮件联系你。
