Skip to content

Pdf417Barcode.GetMaxDataLength Method

GetMaxDataLength()

Calculates the length of the maximum data section that can be encoded in the barcode.

C#
public int GetMaxDataLength()

Remarks

This method calculates how much of the barcode data can be actually encoded in the barcode. The encoded data is considered to start at the beginning of barcode data. The maximum length is calculated based on barcode data, error correction level and barcode rows and columns.