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

BarCodeGeneratorBase.Validate(IGraphicsBase, RectangleF, IBarCodeData) Method

Indicates whether or not the bar code is correctly rendered.

Namespace: DevExpress.XtraPrinting.BarCode

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


public BarCodeError Validate(
    IGraphicsBase gr,
    RectangleF bounds,
    IBarCodeData data
Public Function Validate(
    gr As IGraphicsBase,
    bounds As RectangleF,
    data As IBarCodeData
) As BarCodeError


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