PostNetOptions Class
Contains options specific to PostNet symbology.
Namespace: DevExpress.Docs.Barcode
Assembly: DevExpress.Docs.Core.v26.1.dll
Declaration
Remarks
The following code snippet creates a PostNet barcode with 9 digits and specifies its options:

using DevExpress.Docs.Barcode;
using DevExpress.Drawing;
using System.Drawing;
var postnetOptions = new PostNetOptions();
postnetOptions.BackColor = Color.LightGray;
postnetOptions.ShowText = false;
postnetOptions.Padding = new Padding(5);
postnetOptions.BorderWidth = 1;
postnetOptions.BorderColor = Color.Blue;
using var postnetOptionsStream = new FileStream(Path.Combine(outDir, "barcode_symbology_postnet.png"), FileMode.Create, FileAccess.Write);
using var postnetOptionsGenerator = new BarcodeGenerator(postnetOptions);
postnetOptionsGenerator.Export("123456789", postnetOptionsStream, DXImageFormat.Png);
Inheritance
Object
BarcodeOptions
PostNetOptions
See Also