PDFView4NET WPF Edition
CompactionMode Property




O2S.Components.PDFView4NET.Graphics.Barcodes Namespace > PDFBasePDF417Barcode Class : 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;}
public: __property PDF417DataCompactionMode get_CompactionMode();
public: __property void set_CompactionMode( 
   PDF417DataCompactionMode value
);
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

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFBasePDF417Barcode Class
PDFBasePDF417Barcode Members