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.

EnumScaleUpMode

  • Android
  • Objective-C
  • Swift
public class EnumScaleUpMode {
    public static final int SUM_AUTO = 1;
    public static final int SUM_LINEAR_INTERPOLATION = 2;
    public static final int SUM_NEAREST_NEIGHBOUR_INTERPOLATION = 4;
    public static final int SUM_SKIP = 0;
}
typedef NS_ENUM(NSInteger,EnumScaleUpMode)
{
    /** The library choose an interpolation method automatically to scale up. */
    EnumScaleUpModeAuto = 0x01,
    /** Scales up using the linear interpolation method. Check @ref SUM for available argument settings. */
    EnumScaleUpModeLinearInterpolation = 0x02,
    /** Scales up the barcode using the nearest-neighbour interpolation method. Check @ref SUM for available argument settings. */
    EnumScaleUpModeNearestNeighbourInterpolation = 0x04,
    /** Skip the scale-up process.*/
    EnumScaleUpModeSkip = 0x00
};
public enum EnumScaleUpMode : Int{
    /** The library choose an interpolation method automatically to scale up. */
    auto = 0x01
    /** Scales up using the linear interpolation method. Check @ref SUM for available argument settings. */
    linearInterpolation = 0x02
    /** Scales up the barcode using the nearest-neighbour interpolation method. Check @ref SUM for available argument settings. */
    nearestNeighbourInterpolation = 0x04
    /** Skip the scale-up process.*/
    skip = 0x00
}

This page is compatible for:

Is this page helpful?

YesYes NoNo