Interleaved2of5Options Class
Contains options specific to Interleaved 2 of 5 symbology.
Namespace: DevExpress.Docs.Barcode
Assembly: DevExpress.Docs.Core.v26.1.dll
Declaration
Remarks
The following code snippet creates the Interleaved 2 of 5 barcode and customizes its options:

using DevExpress.Docs.Barcode;
using DevExpress.Drawing;
using System.Drawing;
var int2of5Options = new Interleaved2of5Options();
int2of5Options.CalculateChecksum = true;
int2of5Options.WideNarrowRatio = 3;
int2of5Options.BackColor = Color.LightGray;
int2of5Options.ShowText = false;
int2of5Options.Padding = new Padding(5);
int2of5Options.BorderWidth = 1;
int2of5Options.BorderColor = Color.Blue;
using var int2of5OptionsStream = new FileStream(Path.Combine(outDir, "barcode_symbology_interleaved_2of5.png"), FileMode.Create, FileAccess.Write);
using var int2of5OptionsGenerator = new BarcodeGenerator(int2of5Options);
int2of5OptionsGenerator.Export("0123456709498765432101234567891", int2of5OptionsStream, DXImageFormat.Png);
Inheritance
Object
BarcodeOptions
Interleaved2of5OptionsBase
Interleaved2of5Options
See Also