Skip to main content
A newer version of this page is available. .

BarCodeGeneratorBase Class

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

Namespace: DevExpress.XtraPrinting.BarCode

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

public abstract class BarCodeGeneratorBase :
    StorableObjectBase,
    ICloneable

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