------------------------------------
TBarcode for Borland C++-Builder 1.0
------------------------------------

The installable component file is: BARCODE.PAS

To install the component select from C++ Builder main menu:

1. "Component | Install | Add |Browse"
2. Select type "Source file (*.PAS)"
3. Select file name "BARCODE.PAS
4. Select "OK"

You will get two components on the "Schlottke" component page.

TBarcode   ==> Low level component for visual and non-visual usage
TQRBarcode ==> Data sensitive component for usage in Quickreports

There is currently no C++ demo source available. Complete DOC 
and HLP files are included in the Delphi version of TBarcode.
You can load TBarcode for Delphi from my homepage:

http://ourworld.compuserve.com/homepages/schlottke/delphi.htm

To demonstrate the usage of the low-level component, here
are some lines of C++ source.

Declare Barcode1 to be created "on the fly" instead of visually creation:

    //create barcode "on the fly"
    TBarcode *Barcode1 = new TBarcode(NULL);  

Set some barcode properties with code instead of object inspector:

    //set a different module width
    Barcode1->Bar_ModuleWidth=SC5;

    //set "high density" barcodes (use on screen with Bar_ZoomSize=true)
    Barcode1->Bar_HighDensity=True;

    //to get 10 different barcode sizes on any device, but reduced readability:
    Barcode1->Bar_ZoomSize=True;

    //reduce the height of a barcode
    Barcode1->Bar_HeightPercent=50;

    //set a different text for the barcode
    Barcode1->Bar_Caption="1467850";

You can print a TBarcode object on any canvas with this source:

  //If you are not interested in the barcode dimensions
  Barcode1->Print(Canvas,100,50,NULL);
  //printed at x=100 and y=50

  //If You want to know more about the width and height of the printed barcode
  {TPoint P;
    Barcode1->Print(Canvas,120,150,&P);}
  //width of Barcode1 is returned in P.x, height in P.y

If You have any questions, please ask by e-mail:

schlottke@compuserve.com

Postal address:
Softwareentwicklung
Juergen Schlottke
Schoenaich-Carolath-Str. 46
25336 ELMSHORN
GERMANY

Tel: ++49 4121 63109
Fax: ++49 4121 63971

Homepage:
http://ourworld.compuserve.com/homepages/schlottke
