API Reference
Struct
BarSegment
Represents a single run in a 1D barcode, expressed in module units.
Inheritance
- ValueType
- BarSegment
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property Barcode1D.Segments
Accepted by parameters
- Constructor Barcode1D.Barcode1D
Constructors
public BarSegment(Boolean isBar, Int32 modules) #Creates a new BarSegment.
Parameters
- isBar System.Boolean
- Whether the segment is a bar (dark) or a space (light).
- modules System.Int32
- Width of the segment in modules (must be > 0).
Inherited Methods
Properties
public Boolean IsBar { get; } #Gets whether the segment is a bar (dark) or a space (light).