Table of contents

DSOneDCodeDetails

DSOneDCodeDetails extends the DSBarcodeDetails class and represents detailed information specific to a 1D (one dimensional) barcode.

Definition

Assembly: DynamsoftBarcodeReader.xcframework

  • Objective-C
  • Swift
  1. @interface DSOneDCodeDetails : DSBarcodeDetails
    
  2. class OneDCodeDetails : BarcodeDetails
    

Attributes

Attributes Type Description
startCharsBytes NSData * The start characters of the 1D barcode in a byte array.
stopCharsBytes NSData * The stop characters of the 1D barcode in a byte array.
checkDigitBytes NSData * The check digit characters of the 1D barcode in a byte array.
startPatternRange UIFloatRange The position range of the start pattern relative to the barcode’s location.
middlePatternRange UIFloatRange The position range of the middle pattern relative to the barcode’s location.
endPatternRange UIFloatRange The position range of the end pattern relative to the barcode’s location.

startCharsBytes

A NSData object representing the start characters of the 1D barcode in a byte array. Start characters are often used to identify the beginning of the barcode.

  • Objective-C
  • Swift
  1. @property(nonatomic, nullable, readonly) NSData *startCharsBytes;
    
  2. var startCharsBytes: Data? { get }
    

stopCharsBytes

A NSData object representing the stop characters of the 1D barcode in a byte array. Stop characters are often used to identify the end of the barcode.

  • Objective-C
  • Swift
  1. @property(nonatomic, nullable, readonly) NSData *stopCharsBytes;
    
  2. var stopCharsBytes: Data? { get }
    

checkDigitBytes

A NSData object representing the check digit characters of the 1D barcode in a byte array. Check digits are used for error detection and correction in some 1D barcodes.

  • Objective-C
  • Swift
  1. @property(nonatomic, nullable, readonly) NSData *checkDigitBytes;
    
  2. var checkDigitBytes: Data? { get }
    

startPatternRange

A UIFloatRange representing the position range of the start pattern relative to the barcode’s location.

  • Objective-C
  • Swift
  1. @property(nonatomic, assign, readonly) UIFloatRange startPatternRange;
    
  2. var startPatternRange: UIFloatRange { get }
    

middlePatternRange

A UIFloatRange representing the position range of the middle pattern relative to the barcode’s location.

  • Objective-C
  • Swift
  1. @property(nonatomic, assign, readonly) UIFloatRange middlePatternRange;
    
  2. var middlePatternRange: UIFloatRange { get }
    

endPatternRange

A UIFloatRange representing the position range of the end pattern relative to the barcode’s location.

  • Objective-C
  • Swift
  1. @property(nonatomic, assign, readonly) UIFloatRange endPatternRange;
    
  2. var endPatternRange: UIFloatRange { get }
    

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: