Dev Center
Swift
Objective-C
Table of contents

Class iTextResult

Stores the text result data.

  • Objective-C
  • Swift
  1. @interface iTextResult : NSObject
    
  2. class iTextResult : NSObject
    
Attribute Description
barcodeFormat Barcode type in BarcodeFormat group 1.
barcodeFormat_2 Barcode type in BarcodeFormat group 2.
barcodeFormatString Barcode type as string.
barcodeText The barcode text, ends by ‘\0’.
barcodeBytes The barcode content in a byte array.
localizationResult The corresponding localization result.
detailedResult One of the following: iQRCodeDetails, iPDF417Details, iDataMatrixDetails, iAztecDetails, iOneDCodeDetails.
extendedResults The extended result array.
exception The exception message.
isDPM This attribute stands for whether the result is a DPM result.
isMirrored This attribute stands for whether the barcode is mirrored.

barcodeFormat

Barcode type in BarcodeFormat group 1.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign) EnumBarcodeFormat barcodeFormat;
    
  2. var barcodeFormat: EnumBarcodeFormat { get set }
    

barcodeFormat_2

Barcode type in BarcodeFormat group 2.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign) EnumBarcodeFormat2 barcodeFormat_2;
    
  2. var barcodeFormat_2: EnumBarcodeFormat2 { get set }
    

barcodeFormatString

Barcode type as string.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable) NSString* barcodeFormatString;
    
  2. var barcodeFormatString: String? { get set }
    

barcodeText

The barcode text, ends by ‘\0’.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable) NSString* barcodeText;
    
  2. var barcodeText: String? { get set }
    

barcodeBytes

The barcode content in a byte array.

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

localizationResult

The corresponding localization result.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable) iLocalizationResult* localizationResult;
    
  2. var localizationResult: iLocalizationResult? { get set }
    

detailedResult

One of the following: iQRCodeDetails, iPDF417Details, iDataMatrixDetails, iAztecDetails, iOneDCodeDetails.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable) NSObject* detailedResult;
    
  2. var detailedResult: NSObject? { get set }
    

extendedResults

The extended result array.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable) NSArray<iExtendedResult*>* extendedResults;
    
  2. var extendedResults: [iExtendedResult]? { get set }
    

exception

The exception message.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable) NSString* exception;
    
  2. var exception: String? { get set }
    

isDPM

This attribute stands for whether the result is a DPM result.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign) NSInteger isDPM;
    
  2. var isDPM: Int { get set }
    

isMirrored

This attribute stands for whether the barcode is mirrored.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign) NSInteger isMirrored;
    
  2. var isMirrored: Int { get set }
    

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

version 9.6.20

  • 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 +