PDFView4NET WinForms Edition


Columns Property (PDF417Barcode)
Gets or sets the number of columns in this barcode.
Syntax
'Declaration
 
Public Property Columns As Integer
'Usage
 
Dim instance As PDF417Barcode
Dim value As Integer
 
instance.Columns = value
 
value = instance.Columns
public int Columns {get; set;}

Property Value

An integer value specifying the number of columns used by this barcode.
Exceptions
ExceptionDescription
Thrown when the value is less than 0 or greater than 30
- OR -
Throws when value is 0 and Rows is also 0.
Remarks
The minimum number of columns in a PDF 417 barcode is 1 and the maximum number of columns is 30. If this property is 0, the library will compute automatically the number of required columns to encode the barcode data. When this property is 0, the Rows property must not be 0.
Requirements

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

See Also