public final class Pdf417Properties
extends java.lang.Object
Contains specific configuration properties for Pdf417 barcodes.
This sample shows how to create and save a BarCode image.BarCodeGenerator generator = new BarCodeGenerator(EncodeTypes.PDF_417); generator.getPdf417().setErrorLevel(Pdf417ErrorLevel.Level1); generator.save("test.png");
Constructor and Description |
---|
Pdf417Properties() |
Modifier and Type | Method and Description |
---|---|
int |
getCompactionMode()
Pdf417 symbology type of BarCode's compaction mode.
|
int |
getErrorLevel()
Gets or sets Pdf417 symbology type of BarCode's error correction level
ranging from level0 to level8, level0 means no error correction info,
level8 means best error correction which means a larger picture.
|
int |
getMacroFileID()
Gets or sets macro Pdf417 barcode's file ID.
|
int |
getMacroSegmentID()
Gets or sets macro Pdf417 barcode's segment ID, which starts from 0, to MacroSegmentsCount - 1.
|
int |
getMacroSegmentsCount()
Gets or sets macro Pdf417 barcode segments count.
|
boolean |
getTruncate()
Whether Pdf417 symbology type of BarCode is truncated (to reduce space).
|
void |
setCompactionMode(int value)
Pdf417 symbology type of BarCode's compaction mode.
|
void |
setErrorLevel(int value)
Gets or sets Pdf417 symbology type of BarCode's error correction level
ranging from level0 to level8, level0 means no error correction info,
level8 means best error correction which means a larger picture.
|
void |
setMacroFileID(int value)
Gets or sets macro Pdf417 barcode's file ID.
|
void |
setMacroSegmentID(int value)
Gets or sets macro Pdf417 barcode's segment ID, which starts from 0, to MacroSegmentsCount - 1.
|
void |
setMacroSegmentsCount(int value)
Gets or sets macro Pdf417 barcode segments count.
|
void |
setTruncate(boolean value)
Whether Pdf417 symbology type of BarCode is truncated (to reduce space).
|
public int getCompactionMode()
Pdf417 symbology type of BarCode's compaction mode.
Default compaction mode is Auto
.
public void setCompactionMode(int value)
Pdf417 symbology type of BarCode's compaction mode.
Default compaction mode is Auto
.
public int getErrorLevel()
Gets or sets Pdf417 symbology type of BarCode's error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture.
public void setErrorLevel(int value)
Gets or sets Pdf417 symbology type of BarCode's error correction level ranging from level0 to level8, level0 means no error correction info, level8 means best error correction which means a larger picture.
public boolean getTruncate()
Whether Pdf417 symbology type of BarCode is truncated (to reduce space).
public void setTruncate(boolean value)
Whether Pdf417 symbology type of BarCode is truncated (to reduce space).
public int getMacroFileID()
Gets or sets macro Pdf417 barcode's file ID.
public void setMacroFileID(int value)
Gets or sets macro Pdf417 barcode's file ID.
public int getMacroSegmentID()
Gets or sets macro Pdf417 barcode's segment ID, which starts from 0, to MacroSegmentsCount - 1.
public void setMacroSegmentID(int value)
Gets or sets macro Pdf417 barcode's segment ID, which starts from 0, to MacroSegmentsCount - 1.
public int getMacroSegmentsCount()
Gets or sets macro Pdf417 barcode segments count.
public void setMacroSegmentsCount(int value)
Gets or sets macro Pdf417 barcode segments count.