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.v18.2.Core.dll

Declaration

[TypeConverter(typeof(BarCodeGeneratorTypeConverter))]
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
SnapBarCode.GetGenerator()
Reporting 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