PDFView4NET WinForms Edition


CompactionMode Property
Gets or sets the data compaction mode for this barcode.
Syntax
'Declaration
 
Public Property CompactionMode As PDF417DataCompactionMode
'Usage
 
Dim instance As PDFBasePDF417Barcode
Dim value As PDF417DataCompactionMode
 
instance.CompactionMode = value
 
value = instance.CompactionMode
public PDF417DataCompactionMode CompactionMode {get; set;}

Property Value

A PDF417DataCompactionMode enumeration member specifying the data compaction mode used in this barcode.
Remarks
The Text compaction mode provides a 2:1 compaction ratio when using only ASCII characters from 0x20 to 0x7F. The Numeric compaction mode provides a 2.93:1 compaction ratio when using only digits (0x30 to 0x39). Byte compaction mode provides a 1.2:1 compaction ratio when using any 8bit character.
Requirements

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

See Also