Skip to main content

BarCodeGeneratorBase Class

Defines the base class for all the classes used to generate bar codes.

Namespace: DevExpress.XtraPrinting.BarCode

Assembly: DevExpress.Printing.v24.2.Core.dll

NuGet Package: DevExpress.Printing.Core

#Declaration

public abstract class BarCodeGeneratorBase :
    StorableObjectBase,
    ICloneable

The following members return BarCodeGeneratorBase objects:

Library Related API Members
Cross-Platform Class Library BarCodeBrick.Generator
WinForms Controls BarCodeControl.Symbology
.NET Reporting Tools XRBarCode.Symbology

#Remarks

This class implements the functionality common to all bar code classes.

To create a bar code object of a particular type in code, do the following:

  1. Create a bar code control (either BarCodeControl or XRBarCode).
  2. Create the required descendant of the BarCodeGeneratorBase class and customize its settings.
  3. Assign this object to the bar code control’s Symbology property.

To learn more about bar codes, see the Using Bar Codes topic.

See Also