Skip to content

ivanovsergeyminsk/FMXBarcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;

Releases

No releases published

Packages

No packages published

Languages