Android Interleaved 2 of 5 (ITF) Generator generate, create barcode Interleaved 2 of 5 images in Android application
Interleaved 2 of 5 Generator for Android to Generate Interleaved 2 of 5 Barcodes in Android Application using Android Barcode Generator Library
- Easy to use Android Interleaved 2 of 5 generation api
- Developed from Java Interleaved 2 of 5 barcode generator
- Compatible with Android 1.5 SDK and later versions
- Easy to integrate the Interleaved 2 of 5 SDK into Android apps
- Generate high quality Interleaved 2 of 5 barcode with the Android Interleaved 2 of 5 SDK
- GIF, JPEG, and PNG are supported by the Android Interleaved 2 of 5 Barcode Generator
- Reliable and mature Android barcode library for Interleaved 2 of 5 generation
- Compatible with the latest Interleaved 2 of 5 barcode symbology standard
- Android Interleaved 2 of 5 source code is available for the purchase of the Source Code license
Index
Android Interleaved 2 of 5 Barcode Generator Introduction
Android Interleaved 2 of 5 barcode API is an Interleaved 2 of 5 generator for Android apps, designed for creating Interleaved 2 of 5 barcode in Android apps.
- Android Interleaved 2 of 5 SDK is entirely developed for Android platform
- Android Interleaved 2 of 5 generator is completely built in Android 1.5 SDK
- Developer Licenses for this Android Interleaved 2 of 5 library are royalty-free and perpetual
c# library for qr code,
print barcode in asp.net c#,
qr code reader using webcam c#,
barcode scanner java code,
java barcode api open source,
make barcode with vb.net
Interleaved 2 of 5 is a continuous two-width barcode symbology encoding digits. It is used commercially on 135 film and on cartons of some products, while the products inside are labeled with UPC or EAN.
OnBarcode provides several Interleaved 2 of 5 Generator components and software, including
C# Interleaved 2 of 5 Generator,
.NET Interleaved 2 of 5 Generator,
Java Interleaved 2 of 5 Generator,
VB.NET Interleaved 2 of 5 Generator,
ASP.NET Interleaved 2 of 5 Generator,
Interleaved 2 of 5 Generator.
Interleaved 2 of 5 Valid Data Scope
Android Barcode Interleaved 2 of 5 supports:
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
How to generate Interleaved 2 of 5 barcodes in your Android application?
Generating barcode Interleaved 2 of 5 in Java Class example
Interleaved25 barcode = new Interleaved25();
/*
Interleaved 2 of 5 Valid data char set:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9 (Digits)
*/
barcode.setData("112233445566");
barcode.setAddCheckSum(true);
// Interleaved 2 of 5 Wide Narrow bar Ratio
// Valid value is from 2.0 to 3.0 inclusive.
barcode.setN(3.0f);
// Unit of Measure, pixel, cm, or inch
barcode.setUom(IBarcode.UOM_PIXEL);
// barcode bar module width (X) in pixel
barcode.setX(1f);
// barcode bar module height (Y) in pixel
barcode.setY(75f);
// barcode image margins
barcode.setLeftMargin(10f);
barcode.setRightMargin(10f);
barcode.setTopMargin(10f);
barcode.setBottomMargin(10f);
// barcode image resolution in dpi
barcode.setResolution(72);
// disply barcode encoding data below the barcode
barcode.setShowText(true);
// barcode encoding data font style
barcode.setTextFont(new AndroidFont("Arial", Typeface.NORMAL, 12));
// space between barcode and barcode encoding data
barcode.setTextMargin(6);
barcode.setTextColor(AndroidColor.black);
// barcode bar color and background color in Android device
barcode.setForeColor(AndroidColor.black);
barcode.setBackColor(AndroidColor.white);
/*
specify your barcode drawing area
*/
RectF bounds = new RectF(30, 30, 0, 0);
barcode.drawBarcode(canvas, bounds);
Android Interleaved 2 of 5 Barcode Properties
Barcode Java Class:
com.onbarcode.barcode.android.Interleaved25.
Category |
Properties |
Value |
Comments |
Basic
|
Property: data
|
Type: String
Default: ""
|
Barcode value to encode
Interleaved 2 of 5 Valid Data Char Set:
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 (Digits)
|
Property: addCheckSum
|
Type: boolean
Default: false
|
addCheckSum property is optional. Modulo 10 will be applied, if addCheckSum property is true. |
|
Interleaved 2 of 5 Special |
Property: N
|
Type: float
Default: 2.0f
|
Wide/narrow ratio, 2.0 - 3.0 inclusive, default is 2.
|
|
Barcode Size Related |
Property: autoResize
|
Type: boolean
Default: false
|
Auto resize the generated barcode image
|
Property: barAlignment
|
Type: int
Default: 1 (center)
|
Barcode horizontal alignment inside the image. 0: left, 1: center, 2: right. |
Property: uom
|
Type: int
Default: 0 (pixel)
|
Unit of meature for all size related settings in the library.
Valid values: 0: pixel; 1: inch; 2: cm.
|
Property: X
|
Type: float
Default: 1
|
Width of barcode bar module (narrow bar), default is 1 pixel |
Property: Y
|
Type: float
Default: 30
|
Height of barcode bar module, default is 30 pixel |
Property: barcodeWidth
|
Type: float
Default: 0
|
Barcode image width.
If barcodeWidth setting is smaller than the barcode required minimum width, the library will automatically reset to barcode minimum width. |
Property: barcodeHeight
|
Type: float
Default: 0
|
Barcode image height.
If barcodeHeight setting is smaller than the barcode required minimum height, the library will automatically reset to barcode minimum height. |
Property: leftMargin
|
Type: float
Default: 0
|
Barcode image left margin size. |
Property: rightMargin
|
Type: float
Default: 0
|
Barcode image right margin size. |
Property: topMargin
|
Type: float
Default: 0
|
Barcode image top margin size. |
Property: bottomMargin
|
Type: float
Default: 0
|
Barcode image bottom margin size. |
Property: resolution
|
Type: int
Default: 72
|
Barcode image resolution in DPI (Dots per inch). |
Property: rotate
|
Type: int
Default: 0 (IBarcode.ROTATE_0)
|
Valid values:
- 0 (IBarcode.ROTATE_0)
- 1 (IBarcode.ROTATE_90)
- 2 (IBarcode.ROTATE_180)
- 3 (IBarcode.ROTATE_270)
|
|
Barcode Colors |
Property: backColor
|
Type: AndroidColor
Default: AndroidColor.white
|
Barcode image background color |
Property: foreColor
|
Type: AndroidColor
Default: AndroidColor.black
|
Barcode image foreground color
|
|
Font Style |
Property: showText
|
Type: boolean
Default: true
|
If true, display barcode data text under the barcode, otherwise do not display. |
Property: textFont
|
Type: AndroidFont
Default: new AndroidFont("Arial", Typeface.NORMAL, 11)
|
Barcode text font style.
|
Property: textMargin
|
Type: float
Default: 6
|
Space between barcode and barcode data text, default is 6 pixel |
Property: textColor
|
Type: AndroidColor
Default: AndroidColor.black
|
Barcode text color
|
All Android Barcode Generator Supporting Bar Code Symbology Types