PDFView4NET WinForms Edition


GetMaxDataLength Method
Calculates the length of the maximum data section that can be encoded in the barcode.
Syntax
'Declaration
 
Public Function GetMaxDataLength() As Integer
'Usage
 
Dim instance As PDFBasePDF417Barcode
Dim value As Integer
 
value = instance.GetMaxDataLength()
public int GetMaxDataLength()

Return Value

The maximum length of encoded data.
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.
Requirements

Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025

See Also