BarcodeCodabar

BarcodeCodabar ( left ;​ top ;​ width ;​ height ;​ text ;​ color )

Argument Type Range Default Note
left num -inf..+inf (required)
top num -inf..+inf (required)
width num 0..inf (required)
height num 0..inf (required)
text str 0..100 (required) Max. 100 chars.
color rgba 0..255 black
Examples

BarcodeCodabar(10;​10;​200;​50;​"0123456789")

BarcodeCodabar(10;​10;​200;​50;​"A0123456789B") /* With start & end chars. */

BarcodeCodabar(50;​20;​300;​100;​"71127013886377";​darkBlue)

Description

The BarcodeCodabar() function makes it possible to create Codabar barcodes, also known as Codeabar, Ames Code, NW-7, Monarch, Code 2 of 7, Rationalized Codabar, ANSI/AIM BC3-1995 or USD-4.

Examples:

BARCODE_CODABAR_01
1

/* Note: Using a high print resolution is recommended for all types of barcodes. */

2

OpenDrawing(260;​100;​print)

3

BarcodeCodabar(20;​20;​220;​60;​"31117013206375")

4

CloseDrawing()

BARCODE_CODABAR_01
BARCODE_CODABAR_02
1

/* Note: Using a high print resolution is recommended for all types of barcodes. */

2

OpenDrawing(260;​100;​print)

3

BarcodeCodabar(20;​20;​220;​60;​"A31117013206375B")

4

CloseDrawing()

BARCODE_CODABAR_02
BARCODE_CODABAR_03
1

/* Note: Using a high print resolution is recommended for all types of barcodes. */

2

OpenDrawing(260;​100;​print)

3

BarcodeCodabar(20;​20;​220;​60;​"C31117013206375D")

4

AddText(130;​95;​"3 1117 01320 6375";​Verdana;​15;​plain;​black;​center)

5

CloseDrawing()

BARCODE_CODABAR_03
BARCODE_CODABAR_04
1

/* Note: Using a high print resolution is recommended for all types of barcodes. */

2

OpenDrawing(140;​290;​print)

3

OpenView(-60;​90;​260;​110;​-90) /* Requires xmCHART 5 or higher. */

4

BarcodeCodabar(20;​20;​220;​60;​"C31117013206375D")

5

AddText(130;​95;​"3 1117 01320 6375";​Verdana;​15;​plain;​black;​center)

6

/* Background() // Uncomment while positioning the barcode. */

7

CloseView()

8

/* Background() // Uncomment while positioning the barcode. */

9

CloseDrawing()

BARCODE_CODABAR_04
Scroll to Top