Interleaved2of5OptionsBuilder Class
Builds an Interleaved2of5Options object. Chain builder methods to configure barcode settings, then call the Build method to create the options object.
Namespace: DevExpress.Docs.Barcode
Assembly: DevExpress.Docs.Core.v26.1.dll
Declaration
public class Interleaved2of5OptionsBuilder :
BarcodeOptionsBuilder<Interleaved2of5Options, Interleaved2of5OptionsBuilder>
Related API Members
The following members return Interleaved2of5OptionsBuilder objects:
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 interleavedOptions = Interleaved2of5OptionsBuilder.Create()
.WithCalculateChecksum(true)
.WithWideNarrowRatio(3)
.WithBackColor(Color.LightGray)
.WithShowText(false)
.WithPadding(5)
.WithBorderWidth(1)
.WithBorderColor(Color.Blue)
.Build();
var filePath = Path.GetFullPath("interleaved2of5_barcode.png");
using var stream = new FileStream(filePath, FileMode.Create);
using var generator = new BarcodeGenerator(interleavedOptions);
generator.Export("0123456709498765432101234567891", stream, DXImageFormat.Png);
Inheritance
Object
BarcodeOptionsBuilder<Interleaved2of5Options, Interleaved2of5OptionsBuilder>
Interleaved2of5OptionsBuilder
See Also