Package com.itextpdf.barcodes.dmcode
Class DmParams
java.lang.Object
com.itextpdf.barcodes.dmcode.DmParams
Class that contains the parameters for a DM code. It contains all the information needed to create one data matrix entry
-
Field Summary
Modifier and TypeFieldDescriptionint
int
int
int
int
int
int
-
Constructor Summary
ConstructorDescriptionDmParams
(int height, int width, int heightSection, int widthSection, int dataSize, int dataBlock, int errorBlock) Creates a DM code parameter block -
Method Summary
-
Field Details
-
height
public int height -
width
public int width -
heightSection
public int heightSection -
widthSection
public int widthSection -
dataSize
public int dataSize -
dataBlock
public int dataBlock -
errorBlock
public int errorBlock
-
-
Constructor Details
-
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 height -
width
- total width -
heightSection
- height of a single section -
widthSection
- width of a single section -
dataSize
- size of the data -
dataBlock
- size of a data-block -
errorBlock
- size of a error-correction block
-