Dev Center
Swift
Objective-C
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:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 10.x
    • Version 10.2.10
    • Version 10.0.21
    • Version 10.0.20
    • Version 10.2.10
    • Version 10.0.21
    • Version 10.0.20
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.11
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.11
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.13
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
  • Version 8.x
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
    • Version 7.6.0
    • Version 7.5.0
Change +