public class Pdf417Parameters
extends java.lang.Object
PDF417 parameters.
Modifier and Type | Method and Description |
---|---|
float |
getAspectRatio()
Height/Width ratio of 2D BarCode module.
|
java.nio.charset.Charset |
getCodeTextEncoding()
Gets the encoding of codetext.
|
int |
getColumns()
Columns count.
|
Pdf417CompactionMode |
getPdf417CompactionMode()
Pdf417 symbology type of BarCode's compaction mode.
|
Pdf417ErrorLevel |
getPdf417ErrorLevel()
Gets 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 |
getPdf417MacroFileID()
Gets macro Pdf417 barcode's file ID.
|
int |
getPdf417MacroSegmentID()
Gets macro Pdf417 barcode's segment ID, which starts from 0, to MacroSegmentsCount - 1.
|
int |
getPdf417MacroSegmentsCount()
Gets macro Pdf417 barcode segments count.
|
boolean |
getPdf417Truncate()
Whether Pdf417 symbology type of BarCode is truncated (to reduce space).
|
int |
getRows()
Rows count.
|
void |
setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
|
void |
setCodeTextEncoding(java.nio.charset.Charset value)
Sets the encoding of codetext.
|
void |
setColumns(int value)
Columns count.
|
void |
setPdf417CompactionMode(Pdf417CompactionMode value)
Pdf417 symbology type of BarCode's compaction mode.
|
void |
setPdf417ErrorLevel(Pdf417ErrorLevel value)
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 |
setPdf417MacroFileID(int value)
Sets macro Pdf417 barcode's file ID.
|
void |
setPdf417MacroSegmentID(int value)
Sets macro Pdf417 barcode's segment ID, which starts from 0, to MacroSegmentsCount - 1.
|
void |
setPdf417MacroSegmentsCount(int value)
Sets macro Pdf417 barcode segments count.
|
void |
setPdf417Truncate(boolean value)
Whether Pdf417 symbology type of BarCode is truncated (to reduce space).
|
void |
setRows(int value)
Rows count.
|
java.lang.String |
toString()
Returns a human-readable string representation of this
Pdf417Parameters . |
public Pdf417CompactionMode getPdf417CompactionMode()
Pdf417 symbology type of BarCode's compaction mode. Default value: Pdf417CompactionMode.AUTO.
public void setPdf417CompactionMode(Pdf417CompactionMode value)
Pdf417 symbology type of BarCode's compaction mode. Default value: Pdf417CompactionMode.AUTO.
public Pdf417ErrorLevel getPdf417ErrorLevel()
Gets 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 setPdf417ErrorLevel(Pdf417ErrorLevel value)
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 getPdf417Truncate()
Whether Pdf417 symbology type of BarCode is truncated (to reduce space).
public void setPdf417Truncate(boolean value)
Whether Pdf417 symbology type of BarCode is truncated (to reduce space).
public int getColumns()
Columns count.
public void setColumns(int value)
Columns count.
public int getRows()
Rows count.
public void setRows(int value)
Rows count.
public float getAspectRatio()
Height/Width ratio of 2D BarCode module.
public void setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
public int getPdf417MacroFileID()
Gets macro Pdf417 barcode's file ID. Used for MacroPdf417.
public void setPdf417MacroFileID(int value)
Sets macro Pdf417 barcode's file ID. Used for MacroPdf417.
public int getPdf417MacroSegmentID()
Gets macro Pdf417 barcode's segment ID, which starts from 0, to MacroSegmentsCount - 1.
public void setPdf417MacroSegmentID(int value)
Sets macro Pdf417 barcode's segment ID, which starts from 0, to MacroSegmentsCount - 1.
public int getPdf417MacroSegmentsCount()
Gets macro Pdf417 barcode segments count.
public void setPdf417MacroSegmentsCount(int value)
Sets macro Pdf417 barcode segments count.
public java.nio.charset.Charset getCodeTextEncoding()
Gets the encoding of codetext.
public void setCodeTextEncoding(java.nio.charset.Charset value)
Sets the encoding of codetext.
public java.lang.String toString()
Returns a human-readable string representation of this Pdf417Parameters
.
toString
in class java.lang.Object
Pdf417Parameters
.