Interleaved 2 of 5 is a higher-density numeric bar code based upon the Standard 2 of 5. Interleaved 2 of 5 encodes any even number of numeric characters in the widths of the bars and spaces of the bar code. Unlike Standard 2 of 5, which only encodes information in the width of the bars, Interleaved 2 of 5 encodes data in the width of both the bars and spaces. This allows Interleaved 2 of 5 to achieve a somewhat higher density. The code is called "interleaved" because the first numeric data is encoded in the first 5 bars while the second numeric data is encoded in the first 5 spaces that separate the first 5 bars. Thus the first 5 bars and spaces actually encode two characters. This is also why the bar code can only encode an even number of data elements.
[TelerikToolboxCategory("Data Visualization")] public class RadBarcode25Interleaved : SingleSectionBarcodeBase
Initializes a new instance of the RadBarcode25Interleaved class.
This code handles the sizing for the barcode, depending on the ratio and the available size.
protected override Size MeasureOverride(Size availableSize)