Class IronBarCodeContentTooLongEncodingException
A specific Exception raised when the Value of a barcode is too long for the selected BarcodeEncoding
Inheritance
Namespace: IronBarCode.Exceptions
Assembly: IronBarCode.dll
Syntax
public class IronBarCodeContentTooLongEncodingException : IronBarCodeEncodingException
IronBarCodeContentTooLongEncodingException signals that the value passed to IronBarcode exceeds the data capacity of the selected barcode symbology. Each format has a maximum number of characters, and longer payloads cannot be represented. To resolve it, trim the content, switch to a symbology with greater capacity such as a 2D code, or split the data across several barcodes, then encode again. It derives from IronBarCodeEncodingException, itself an IronBarCodeException, so either base type also catches it.