BarCodeGeneratorBase.Validate(IGraphicsBase, RectangleF, IBarCodeData) Method

Indicates whether or not the bar code is correctly rendered.

Namespace: DevExpress.XtraPrinting.BarCode

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

Declaration

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

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