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

    Builds an DeutschePostIdentcodeOptions object. Chain builder methods to configure barcode settings, then call the Build method to create the options object.

    Namespace: DevExpress.Docs.Barcode

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

    Declaration

    public class DeutschePostIdentcodeOptionsBuilder :
        BarcodeOptionsBuilder<DeutschePostIdentcodeOptions, DeutschePostIdentcodeOptionsBuilder>

    The following members return DeutschePostIdentcodeOptionsBuilder objects:

    Remarks

    The following code snippet creates an Deutsche Post Identcode barcode and customizes its options:

    DevExpress Barcode Generator - Deutsche Post Identcode barcode

    using DevExpress.Docs.Barcode;
    using DevExpress.Drawing;
    using System.Drawing;
    
    var identOptions = DeutschePostIdentcodeOptionsBuilder.Create()
        .WithShowText(true)
        .WithPadding(5)
        .WithBorderWidth(1)
        .Build();
    
    using var identOptionsStream = new FileStream(Path.Combine(outDir, "barcode_symbology_deutsche_post_identcode.png"), FileMode.Create, FileAccess.Write);
    using var identOptionsGenerator = new BarcodeGenerator(identOptions);
    
    identOptionsGenerator.Export("12345678901", identOptionsStream, DXImageFormat.Png);
    
    See Also