Class Code128EncodingSegment
Represents a segment of data encoded with a specific Code 128 character set.
Inheritance
System.Object
Code128EncodingSegment
Namespace: IronBarCode
Assembly: IronBarCode.dll
Syntax
public class Code128EncodingSegment : Object
Constructors
Code128EncodingSegment()
Declaration
public Code128EncodingSegment()
Properties
CharacterSet
The character set used for this segment.
Declaration
public Code128CharacterSet CharacterSet { get; }
Property Value
| Type | Description |
|---|---|
| Code128CharacterSet |
CharacterSetName
Gets the character set as a string (e.g., "Code A", "Code B", "Code C").
Declaration
public string CharacterSetName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
CharacterSetShort
Gets a short representation of the character set (A, B, or C).
Declaration
public string CharacterSetShort { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Data
The raw data content of this segment.
Declaration
public string Data { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Length
The length of the data in the original input string.
Declaration
public int Length { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
StartPosition
The starting position in the original input string.
Declaration
public int StartPosition { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SymbolCount
Number of Code 128 symbols required to encode this segment.
Declaration
public int SymbolCount { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |