Skip to main content
All docs
V26.1
  • IntelligentMailPackageOptions Class

    Contains options specific to Intelligent Mail Package symbology.

    Namespace: DevExpress.Docs.Barcode

    Assembly: DevExpress.Docs.Core.v26.1.dll

    Declaration

    public class IntelligentMailPackageOptions :
        BarcodeOptions

    Example

    How to: Create an Intelligent Mail Package Barcode

    The following code snippet creates the Intelligent Mail barcode and customizes its options:

    DevExpress Barcode Generator - Intelligent Mail barcode

    using DevExpress.Docs.Barcode;
    using DevExpress.Drawing;
    using System.Drawing;
    
    var impOptions = new IntelligentMailPackageOptions();
    impOptions.BackColor = Color.LightGray;
    impOptions.ShowText = false;
    impOptions.Padding = new Padding(5);
    impOptions.BorderWidth = 1;
    impOptions.BorderColor = Color.Blue;
    
    using var impOptionsStream = new FileStream(Path.Combine(outDir, "barcode_symbology_intelligent_mail_package.png"), FileMode.Create, FileAccess.Write);
    using var impOptionsGenerator = new BarcodeGenerator(impOptions);
    impOptionsGenerator.Export("9212391234567812345671", impOptionsStream, DXImageFormat.Png);
    

    Inheritance

    Object
    BarcodeOptions
    IntelligentMailPackageOptions
    See Also