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

using DevExpress.Docs.Barcode;
using DevExpress.Drawing;
using System.Drawing;
var upcSup5Options = new UPCSupplemental5Options();
upcSup5Options.BackColor = Color.LightGray;
upcSup5Options.ShowText = false;
upcSup5Options.Padding = new Padding(5);
upcSup5Options.BorderWidth = 1;
upcSup5Options.BorderColor = Color.Blue;
using var upcSup5OptionsStream = new FileStream(Path.Combine(outDir, "barcode_symbology_upc_supplemental5.png"), FileMode.Create, FileAccess.Write);
using var upcSup5OptionsGenerator = new BarcodeGenerator(upcSup5Options);
upcSup5OptionsGenerator.Export("4210000526", upcSup5OptionsStream, DXImageFormat.Png);
Inheritance
Object
BarcodeOptions
UPCSupplemental5Options
See Also