O2S.Components.PDF4NET Documentation
GetMaxDataLength Method



O2S.Components.PDF4NET.Graphics Namespace > PDF417Barcode Class : 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 PDF417Barcode
Dim value As Integer
 
value = instance.GetMaxDataLength()
public int 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

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PDF417Barcode Class
PDF417Barcode Members