BarCodeError Enum

Lists the possible errors that may be identified during bar code validation.

Namespace: DevExpress.XtraPrinting.BarCode

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

Declaration

public enum BarCodeError
Public Enum BarCodeError

Members

Name Description
None

No errors were detected during bar code validation. The bar code content is rendered correctly.

InvalidText

The bar code is assigned text containing invalid characters.

The displayed error message corresponds to the PreviewStringId.Msg_InvalidBarcodeText enumeration value.

InvalidTextFormat

The bar code text is incompatible with the selected symbology.

The displayed error message corresponds to the PreviewStringId.Msg_InvalidBarcodeTextFormat enumeration value.

InvalidData

The binary data assigned to the bar code is longer than 1033 bytes or does not meet specific requirements of the current symbology.

The displayed error message corresponds to the PreviewStringId.Msg_InvalidBarcodeData enumeration value.

ControlBoundsTooSmall

The control's dimensions are too small to correctly render the current bar code.

The displayed error message corresponds to the PreviewStringId.Msg_CantFitBarcodeToControlBounds enumeration value.

IncompatibleSettings

Remarks

A BarCodeError enumeration value is returned by the Validate methods of the following classes.

See Also