EAN8OptionsBuilder Class
Builds an EAN8Options 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
Related API Members
The following members return EAN8OptionsBuilder objects:
Remarks
The following code snippet creates an EAN8 barcode and customizes its options:

using DevExpress.Docs.Barcode;
using DevExpress.Drawing;
using System.Drawing;
var ean8Options = EAN8OptionsBuilder.Create()
.WithShowText(true)
.WithPadding(5)
.WithBorderWidth(1)
.Build();
using var ean8OptionsStream = new FileStream(Path.Combine(outDir, "barcode_symbology_ean8.png"), FileMode.Create, FileAccess.Write);
using var ean8OptionsGenerator = new BarcodeGenerator(ean8Options);
ean8OptionsGenerator.Export("9638507", ean8OptionsStream, DXImageFormat.Png);
Inheritance
See Also