private BarcodeToZxing ( BarCodeType format ) : ZXing.BarcodeFormat | ||
format | BarCodeType | |
return | ZXing.BarcodeFormat |
private ZXing.BarcodeFormat BarcodeToZxing (BarCodeType format){
foreach(ZXing.BarcodeFormat type in Enum.GetValues(typeof(ZXing.BarcodeFormat))){
if(format.ToString().Equals(type.ToString())) return type;
}
return ZXing.BarcodeFormat.QR_CODE;
}