ivanovsergeyminsk / FMXBarcode

Generates a barcode image as svg-path (TPath.Data)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FMXBarcode

Generates a barcode image as svg-path (TPath.Data)

Barcode type Barcode Supported
Linear EAN-8
EAN-13
UPC-A
UPC-E
ITF-14
Code-128
GS-128
Databar ❌ (future)
Two dimensioanl DataMatrix ❌ (future)
QR Code ❌ (future)
DotCode ❌ (future)
Composite ❌ (future)

EAN8 EAN8

Using

Add the module:

uses
 Common.Barcode;

Get svg-path:

var
  SVGString: string;
begin
  SVGString := TBarcode.SVG(TBarcodeType.EAN8, '1234567');
end;

You can display the barcode through the TPath component:

var
 DisplayBarcode: TPath;
begin
//...
  DisplayBarcode.Data.Data := TBarcode.SVG(TBarcodeType.Code128, 'User:1234567');
//...
end;

About

Generates a barcode image as svg-path (TPath.Data)

License:MIT License


Languages

Language:Pascal 100.0%