/* * Copyright 2007 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace ZXing { /// /// Enumerates barcode formats known to this package. /// /// Sean Owen [System.Flags] public enum BarcodeFormat { /// Aztec 2D barcode format. AZTEC = 1, /// CODABAR 1D format. CODABAR = 2, /// Code 39 1D format. CODE_39 = 4, /// Code 93 1D format. CODE_93 = 8, /// Code 128 1D format. CODE_128 = 16, /// Data Matrix 2D barcode format. DATA_MATRIX = 32, /// EAN-8 1D format. EAN_8 = 64, /// EAN-13 1D format. EAN_13 = 128, /// ITF (Interleaved Two of Five) 1D format. ITF = 256, /// MaxiCode 2D barcode format. MAXICODE = 512, /// PDF417 format. PDF_417 = 1024, /// QR Code 2D barcode format. QR_CODE = 2048, /// RSS 14 RSS_14 = 4096, /// RSS EXPANDED RSS_EXPANDED = 8192, /// UPC-A 1D format. UPC_A = 16384, /// UPC-E 1D format. UPC_E = 32768, /// UPC/EAN extension format. Not a stand-alone format. UPC_EAN_EXTENSION = 65536, /// MSI MSI = 131072, /// Plessey PLESSEY = 262144, /// /// UPC_A | UPC_E | EAN_13 | EAN_8 | CODABAR | CODE_39 | CODE_93 | CODE_128 | ITF | RSS_14 | RSS_EXPANDED /// without MSI (to many false-positives) /// All_1D = UPC_A | UPC_E | EAN_13 | EAN_8 | CODABAR | CODE_39 | CODE_93 | CODE_128 | ITF | RSS_14 | RSS_EXPANDED } }