UPCSupplemental2Options Class
Contains options specific to the UPC Supplemental 2 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 2-Digit barcode and specifies its settings:

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