KA.Barcode for Java
PDF 417 Image Setting for Java
Generate and output PDF 417 2D barcodes with complete QR Code image setting source code using Java
PDF 417 Barcode Generator for Java Overview
  • Encoding PDF 417 valid data set to generate valid PDF 417 images in Java applications
  • PDF 417 image color can be changed with setting BackgroundColor, ForegroundColor and TextColor
  • The generated PDF 417 image resolution can be set to be a fixed value with your need
  • Java PDF 417 generation component supports rotating PDF 417 image with 0, 90, 180, 270 angles
  • Easy to set the PDF 417 barcode image width in Java by changing the X(width of barcode module)
  • Unit of Measure can change the generated PDF 417 image in Inch, CM or Pixel
  • Supports all common operation systems, such as Windows 7, Windows Server 2008, Windows Vista, Windows XP and Microsoft Windows Server 2003
  • Mature & Reliable Java PDF 417 generation library with latest barcode symbology ISO Standards
Related PDF 417 Java Generation Setting Guide
KA.Barcode Generator for Java includes PDF 417 barcode generation dll for encoding large amounts of text and data with three sets of setting guide besides PDF 417 image setting:
Java PDF 417 Image Setting Properties

PDF-417 Special Image Properties in Java

PDF 417 image generated in Java can be changed with the following special properties which are different from other barcode type image setting properties:
  • pdf417Ecl - Error correction level for restoring PDF 417 barcode image after damaging which ranges from 0 to 8 with default value 2
  • pdf417RowCount - for PDF 417 number of rows which ranges from 3 to 90 with default value 3
  • pdf417ColumnCount - for PDF 417 number of columns which varies from 1 to 30 with default value 5
  • pdf417Truncated - set it to be true for space consideration which is a primary concern and symbol damage is unlikely

PDF-417 Common Image Properties in Java

PDF 417 barcode image generated in Java developmental environment can be adjusted from the following properties:
  • rotate - PDF 417 image rotate angle with 0, 90, 180 and 270 degrees
  • resolution - PDF 417 image resolution in dpi (short for dot per inch)
  • backgroundColor - the color of PDF 417 barcode image background
  • foregroundColor - the color of PDF 417 barcode image foreground
  • barAlignment - put the barcode in the left, right and center inside the PDF 417 image
PDF 417 Image Setting in Java - Implementation
For using and implementing PDF 417 generator for Java, please purchase, download, unzip and run the set-up file of PDF 417 generation package.
//Build PDF 417 barcode object in Java
BarCode barcode = new BarCode();
//Set barcode type to be PDF 417
barcode.setType(IBarCode.PDF417
//Encode PDF 417 valid data
barcode.setData("Java-PDF 417");

PDF 417 Image Special Setting in Java

//Set PDF 417 error correction level in Java
barcode.setpdf417Ecl (5);
//Set PDF 417 row count on Java
barcode.setpdf417RowCount(5);
//Set PDF-417 column count with Java
barcode.setpdf417ColumnCount(10);
//Set truncated PDF 417 image in Java
barcode.setpdf417Truncated(false);

PDF 417 Image Common Setting in Java

//Set PDF 417 image resolution in dpi, default value is 72
Barcode.setResolution(80);
//Set PDF 417 rotation angle using Java
barcode.setRotate(IBarCode.ROTATE_0);
//Set PDF 417 bar alignment in Java
Barcode.setbarAlignment(left);
//Set PDF 417 image background color in Java
barcode.setbackgroundColor(red);
//Set PDF 417 image foreground color in Java
barcode.setforegroundColor(white);