Table of contents
Swift
Objective-C

This documentation is deprecated. It applies only to legacy version 9.x of Barcode Reader and must not be used for new development.

Please refer to the latest documentation and Migration Guide, which supersede this content.

EnumBarcodeColourMode

  • Android
  • Objective-C
  • Swift
public class EnumBarcodeColourMode {
    public static final int BICM_DARK_ON_LIGHT = 1;
    public static final int BICM_LIGHT_ON_DARK = 2;
    public static final int BICM_DARK_ON_DARK = 4;
    public static final int BICM_LIGHT_ON_LIGHT = 8;
    public static final int BICM_DARK_LIGHT_MIXED = 16;
    public static final int BICM_DARK_ON_LIGHT_DARK_SURROUNDING = 32;
    public static final int BICM_SKIP = 0;
}
typedef NS_ENUM(NSInteger, EnumBarcodeColourMode)
{
   /** Dark items on the light background. Check @ref BICM for available argument settings.*/
   EnumBarcodeColourModeDarkOnLight = 0x01,
   /** Light items on the dark background. Not supported yet. Check @ref BICM for available argument settings.*/
   EnumBarcodeColourModeLightOnDark = 0x02,
   /** Dark items on the dark background. Not supported yet. Check @ref BICM for available argument settings.*/
   EnumBarcodeColourModeDarkOnDark = 0x04,
   /** Light items on the light background. Not supported yet. Check @ref BICM for available argument settings.*/
   EnumBarcodeColourModeLightOnLight = 0x08,
   /** The background is mixed by dark and light. Not supported yet. Check @ref BICM for available argument settings.*/
   EnumBarcodeColourModeDarkLightMixed = 0x10,
   /** Dark on light items on the dark background. Check @ref BICM for available argument settings.*/
   EnumBarcodeColourModeDarkOnLightDarkSurrounding = 0x20,
   /** Skips the barcode colour operation.  */
   EnumBarcodeColourModeSkip = 0x00
};
public enum EnumBarcodeColourMode : Int{
    darkOnLight = 0x01
    lightOnDark = 0x02
    darkOnDark = 0x04
    lightOnLight = 0x08
    darkLightMixed = 0x10
    darkOnLightDarkSurrounding = 0x20
    skip = 0x00
}

This page is compatible for:

Is this page helpful?

YesYes NoNo