Dev Center
Swift
Objective-C
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

DSOneDCodeDetails

The DSOneDCodeDetails class represents a barcode in OneD format. It inherits from the DSBarcodeDetails class and contains information about the char bytes, digit bytes, and pattern range.

Definition

Assembly: DynamsoftBarcodeReader.framework

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

Attributes

Attributes Type Description
startCharsBytes NSData * The start chars of the one-dimensional barcode in a byte array.
stopCharsBytes NSData * The stop chars of the one-dimensional barcode in a byte array.
checkDigitBytes NSData * The check digit chars of the one-dimensional barcode in a byte array.
startPatternRange UIFloatRange The position of the start pattern relative to the barcode location.
middlePatternRange UIFloatRange The position of the middle pattern relative to the barcode location.
endPatternRange UIFloatRange The position of the end pattern relative to the barcode location.

startCharsBytes

The start chars of the one-dimensional barcode in a byte array.

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

stopCharsBytes

The stop chars of the one-dimensional barcode in a byte array.

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

checkDigitBytes

The check digit chars of the one-dimensional barcode in a byte array.

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

startPatternRange

The position of the start pattern relative to the barcode location.

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

middlePatternRange

The position of the middle pattern relative to the barcode location.

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

endPatternRange

The position of the end pattern relative to the barcode 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 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.13
    • Version 9.2.11
    • 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 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +