the fair gds editor MacroClassBarcodeModule

BarcodeModule Class Reference

A Module to generate different kind of barcodes. More...

See also: Barcode, List of Classes


Detailed Description

This module has some functions to add and read bar codes.

Member Function Documentation

void barcodeModule::addBarcode(string text)

Add a barcode to the current cell. The given text will be used as the data of the code. The location of the barcode had to be enter prior via the point comannd.

string barcodeModule::data

Data which will be decoded to a barcode.

void barcodeModule::placeBarcode(point p1,point p2)

Place a barcode in a rect p1-p2. The data had to be set prior via the data property.

double barcodeModule::ratio

Same barcode type allow a variable ratio between small and wide bar. The value can be setup via this property.It had to be set after setting the barcode type.

void barcodeModule::setCode128()

Sets the barcode encoding to code 128. This is an group of 3 code (code 128A, code128B and code 128C). The best matching code is used.

void barcodeModule::setCode128A()

Sets the barcode encoding to code 128A.

void barcodeModule::setCode128B()

Sets the barcode encoding to code 128B.

void barcodeModule::setCode128C()

Sets the barcode encoding to code 128C.

void barcodeModule::setCode39()

Sets the barcode encoding to code 39.

void barcodeModule::setCode39Mod43()

Sets the barcode encoding to code 39 mod 43.

void barcodeModule::setDatamatrix()

Sets the barcode encoding to datamatrix (ISO16022).

void void barcodemodule::setMicroQrCode()

Sets the barcode encoding to mirco QR-code.

void barcodeModule::setQrCodeMode()

Sets the barcode encoding to QR-code (ISO18004).

See also


CategoryMacroClass


MacroClassBarcodeModule (last edited 2013-11-16 14:17:06 by JürgenThies)