BarCodeGeneratorBase Class

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

Namespace: DevExpress.XtraPrinting.BarCode

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

Declaration

public abstract class BarCodeGeneratorBase :
    StorableObjectBase,
    ICloneable
Public MustInherit Class BarCodeGeneratorBase
    Inherits StorableObjectBase
    Implements ICloneable

Related API Members

The following members accept/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