Skip to content

Commit 53c9d3a

Browse files
update for v 3.2.4000
1 parent 5eef36a commit 53c9d3a

3 files changed

Lines changed: 107 additions & 4 deletions

File tree

programming/javascript/api-reference/interfaces/barcode-result-item.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ interface BarcodeResultItem extends Core.CapturedResultItem {
2424
details: BarcodeDetails;
2525
isDPM: boolean;
2626
isMirrored: boolean;
27+
eciSegments: Array<ECISegment>;
2728
}
2829
```
2930
<!--
@@ -39,7 +40,8 @@ interface BarcodeResultItem extends Core.CapturedResultItem {
3940
| [moduleSize](#modulesize) | *number* |
4041
| [details](#details) | *BarcodeDetails* |
4142
| [isDPM](#isdpm) | *boolean* |
42-
| [isMirrored](#ismirrored) | *boolean* | -->
43+
| [isMirrored](#ismirrored) | *boolean* |
44+
| [eciSegments](#ecisegments) | *Array\<ECISegment>* | -->
4345

4446
## format
4547

@@ -135,4 +137,20 @@ Whether the barcode is mirrored or reversed from its normal orientation.
135137

136138
```typescript
137139
isMirrored: boolean;
138-
```
140+
```
141+
142+
## eciSegments
143+
144+
An array of ECI (Extended Channel Interpretation) segments present in the barcode, if any. Each segment is represented by an `ECISegment` object.
145+
146+
```typescript
147+
eciSegments: Array<ECISegment>;
148+
```
149+
150+
**See also**
151+
152+
* [ECISegment]({{ site.js_api }}interfaces/eci-segment.html)
153+
154+
**Remarks**
155+
156+
New added in CaptureVisionBundle version 3.4.2000 & BarcodeReaderBundle version 11.4.2000.

programming/javascript/api-reference/interfaces/decoded-barcode-element.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ interface DecodedBarcodeElement extends Core.RegionObjectElement {
2323
angle: number;
2424
moduleSize: number;
2525
confidence: number;
26-
extendedBarcodeResults: Array<ExtendedBarcodeResult>
26+
extendedBarcodeResults: Array<ExtendedBarcodeResult>;
27+
eciSegments: Array<ECISegment>
2728
}
2829
```
2930
<!--
@@ -135,4 +136,20 @@ extendedBarcodeResults: Array<ExtendedBarcodeResult>
135136

136137
**See also**
137138

138-
* [ExtendedBarcodeResults]({{ site.js_api }}interfaces/extended-barcode-result.html)
139+
* [ExtendedBarcodeResults]({{ site.js_api }}interfaces/extended-barcode-result.html)
140+
141+
## eciSegments
142+
143+
An array of ECI (Extended Channel Interpretation) segments present in the barcode, if any. Each segment is represented by an `ECISegment` object.
144+
145+
```typescript
146+
eciSegments: Array<ECISegment>;
147+
```
148+
149+
**See also**
150+
151+
* [ECISegment]({{ site.js_api }}interfaces/eci-segment.html)
152+
153+
**Remarks**
154+
155+
New added in CaptureVisionBundle version 3.4.2000 & BarcodeReaderBundle version 11.4.2000.
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
---
2+
layout: default-layout
3+
title: Interface ECISegment - Dynamsoft Barcode Reader JS Edition API Reference
4+
description: This page shows the JS edition of the interface ECISegment in Dynamsoft DBR Module.
5+
keywords: ECI segment, barcode, JS
6+
needAutoGenerateSidebar: true
7+
noTitleIndex: true
8+
---
9+
10+
# ECISegment
11+
12+
The `ECISegment` interface represents an Extended Channel Interpretation (ECI) segment within a barcode. Each segment specifies the character encoding used for a portion of the decoded bytes. Charset names follow the IANA character set registry (e.g., `"UTF-8"`, `"ISO-8859-1"`).
13+
14+
```typescript
15+
interface ECISegment {
16+
eciValue: number;
17+
charsetEncoding: string;
18+
startIndex: number;
19+
length: number;
20+
}
21+
```
22+
<!--
23+
| Properties | Type |
24+
| --------------------------------------- | -------- |
25+
| [eciValue](#ecivalue) | *number* |
26+
| [charsetEncoding](#charsetencoding) | *string* |
27+
| [startIndex](#startindex) | *number* |
28+
| [length](#length) | *number* | -->
29+
30+
## eciValue
31+
32+
The ECI assignment number as defined by ISO/IEC 15424.
33+
34+
```typescript
35+
eciValue: number;
36+
```
37+
38+
## charsetEncoding
39+
40+
The charset encoding name as defined by IANA (e.g., `"UTF-8"`, `"ISO-8859-1"`).
41+
42+
```typescript
43+
charsetEncoding: string;
44+
```
45+
46+
## startIndex
47+
48+
The start index of this ECI segment in the decoded barcode bytes.
49+
50+
```typescript
51+
startIndex: number;
52+
```
53+
54+
## length
55+
56+
The length in bytes of this segment within the decoded barcode bytes.
57+
58+
```typescript
59+
length: number;
60+
```
61+
62+
**See also**
63+
64+
* [BarcodeResultItem]({{ site.js_api }}interfaces/barcode-result-item.html)
65+
66+
**Remarks**
67+
68+
New added in CaptureVisionBundle version 3.4.2000 & BarcodeReaderBundle version 11.4.2000.

0 commit comments

Comments
 (0)