Skip to main content
A newer version of this page is available. .

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

Declaration

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

Parameters

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.

Returns

Type Description
BarCodeError

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

See Also