KA.Barcode for Java
Data Matrix Image Setting for Java
Encode and output Data Matrix 2D barcodes with setting fixed image resolution, format, rotation, rotation, etc using Java
Data Matrix Barcode Generator for Java Overview
  • Supports Java Reports software to set Data Matrix related image setting properties
  • Generate and print Data Matrix in JDK 1.4.0 and later version
  • Completely developed in Java for any operating systems with Java Virtual Machine
  • The software is fully compatible with Windows 7 32/64, Vista 32/64, XP 32/64, 2003 Server, 2008 Server
  • Easy to set the Data Matrix barcode image width in Java by changing the X(width of barcode module)
  • High quality Data Matrix images may be printed with any printers, including those low resolution printers
  • Common-used image formats are valid here, which are png, tiff, gif, jpeg and bmp
Related Data Matrix Java Generation Setting Guide
Except Data Matrix image setting, Data Matrix generator for Java provides other two pages for Data Matrix generation guide:
Java Data Matrix Image Setting Properties
As a 2D barcode type, Data Matrix barcode image generated in Java developmental environment can be adjusted from the following properties:
  • rotate - Data Matrix image rotate angle with 0, 90, 180 and 270 degrees
  • resolution - Data Matrix image resolution in dpi (short for dot per inch)
  • backgroundColor - the color of Data Matrix barcode image background
  • foregroundColor - the color of Data Matrix barcode image foreground
  • barAlignment - put the barcode in the left, right and center inside the Data Matrix image
ASP.NET is a mature and efficient barcode generation component SDK library ....
To generate, display scannable high-quality QR Code images in ASP.NET webform / website ....
Recongize linear & 2D barcodes using .NET barcode or ASP.NET barcode; Drawing ....
QR Code Overview in .NET WinForms Library. QR Code, known as Denso Barcode, QRCode, Quick Response Code, JIS X 0510, and ISO/IEC18004, is a 2D...
more>
Data Matrix Image Setting in Java - Implementation
Encode the following source code after you have finished installing Data Matrix generator for Java:
//Build Data Matrix barcode object in Java
BarCode barcode = new BarCode();
//Set barcode type to be Data Matrix
barcode.setType(IBarCode.DATAMATRIX);
//Set Data Matrix encoding code value
barcode.setData("Java Data Matrix");

Data Matrix Image Resolution Setting in Java

Data Matrix image resolution is set in DPI which is short for Dot Per Inch and is valid for setting to be any value like below:
//Set Data Matrix image resolution in dpi, default value is 72
Barcode.setResolution(77);

Data Matrix Image Placement Setting with Java

Java Data Matrix generator can put the Data Matrix image generated in Java with different angles (0, 90, 180, 270 degrees) and positions (left, right, center) like below:
//Set Data Matrix rotation angle using Java, default is 0
barcode.setRotate(IBarCode.ROTATE_180);
//Set Data Matrix bar alignment in Java, default is center
Barcode.setbarAlignment(left);

Data Matrix Image Color Setting with Java

Data Matrix image color can be influenced with background color and foreground color. Here is an example below:
//Set Data Matrix image background color in Java
barcode.setbackgroundColor(red);
//Set Data Matrix image foreground color in Java
barcode.setforegroundColor(white);
//Set Data Matrix image text color in Java
barcode.settextColor(white);