XFINIUM.PDF Documentation
CompactionMode Property



Xfinium.Pdf.Graphics Namespace > Pdf417Barcode Class : CompactionMode Property
Gets or sets the data compaction mode for this barcode.
Syntax
'Declaration
 
Public Property CompactionMode As Pdf417DataCompactionMode
'Usage
 
Dim instance As Pdf417Barcode
Dim value As Pdf417DataCompactionMode
 
instance.CompactionMode = value
 
value = instance.CompactionMode
public Pdf417DataCompactionMode CompactionMode {get; set;}
public:
property Pdf417DataCompactionMode CompactionMode {
   Pdf417DataCompactionMode get();
   void set (    Pdf417DataCompactionMode value);
}

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

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