UPCE1Options Class
Contains options specific to the UPC-E1 symbology.
Namespace: DevExpress.Docs.Barcode
Assembly: DevExpress.Docs.Core.v26.1.dll
Declaration
Remarks
The following code snippet creates a Universal Product Code (UPC-E1) barcode and specifies its settings:

using DevExpress.Docs.Barcode;
using DevExpress.Drawing;
using System.Drawing;
var upce1code = UPCE1OptionsBuilder.Create()
.WithBackColor(Color.LightGray)
.WithShowText(false)
.WithPadding(5)
.WithBorderWidth(1)
.WithBorderColor(Color.Blue)
.Build();
var filePath = Path.GetFullPath("upce1_code.png");
using var stream = new FileStream(filePath, FileMode.Create);
using var generator = new BarcodeGenerator(upce1code);
generator.Export("4210000526", stream, DXImageFormat.Png);
Inheritance
Object
BarcodeOptions
EAN13Options
UPCAOptions
UPCE1Options
See Also