Skip to main content

BarCodeGeneratorBase.Validate(IGraphicsBase, RectangleF, IBarCodeData) Method

Indicates whether or not the bar code is correctly rendered.

Namespace: DevExpress.XtraPrinting.BarCode

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

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public BarCodeError Validate(
    IGraphicsBase gr,
    RectangleF bounds,
    IBarCodeData data


Name Type Description
gr DevExpress.XtraPrinting.IGraphicsBase

An object implementing the DevExpress.XtraPrinting.IGraphicsBase interface.

bounds RectangleF

A RectangleF structure.

data IBarCodeData

An object implementing the IBarCodeData interface.


Type Description

A BarCodeError enumeration value, identifying the error (BarCodeError.None if the bar code validation succeeds).

See Also