A newer version of this page is available. Switch to the current version.

BarCodeGeneratorBase Class

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

Namespace: DevExpress.XtraPrinting.BarCode

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


public abstract class BarCodeGeneratorBase :

The following members accept/return BarCodeGeneratorBase objects:

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


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