Package com.itextpdf.barcodes.dmcode
Class DmParams
- java.lang.Object
-
- com.itextpdf.barcodes.dmcode.DmParams
-
public class DmParams extends java.lang.Object
Class that contains the parameters for a DM code. It contains all the information needed to create one data matrix entry
-
-
Field Summary
Fields Modifier and Type Field Description int
dataBlock
int
dataSize
int
errorBlock
int
height
int
heightSection
int
width
int
widthSection
-
Constructor Summary
Constructors Constructor Description DmParams(int height, int width, int heightSection, int widthSection, int dataSize, int dataBlock, int errorBlock)
Creates a DM code parameter block
-
-
-
Constructor Detail
-
DmParams
public DmParams(int height, int width, int heightSection, int widthSection, int dataSize, int dataBlock, int errorBlock)
Creates a DM code parameter block- Parameters:
height
- total heightwidth
- total widthheightSection
- height of a single sectionwidthSection
- width of a single sectiondataSize
- size of the datadataBlock
- size of a data-blockerrorBlock
- size of a error-correction block
-
-