Winsoft Barcode for Firemonkey is the third party component to give barcode support on FMX platform.
Winsoft Barcode for Firemonkey is based on Zint, an open-source barcode encoding library.
Versions Supported: Delphi/C++ Builder XE2 – XE10.4.
Platforms: Windows, MacOS, iOS and Android;
Component encodes data into any of the following:
Australia Post barcode, Aztec Code, Aztec Runes, Channel Code, Codabar, Codablock-F, Code 11, Code 128, Code 16K, Code 2 of 5 (Including IATA, Datalogic, ITF14, Deutsche Post Leitcode and Identcode), Code 32 (Italian Pharmacode), Code 39, Code 39+, Code 49, Code 93, Code One, Data Matrix (including DMRE), DotCode, Dutch Post KIX, EAN, Grid Matrix, GS-1 DataBar (including stacked and composite symbols), Han Xin, HIBC, Japan Post, Korea Post, LOGMARS, MaxiCode, MSI, PDF417 and Micro PDF417, Pharmacode, POSTNET, PLANET, QR Code and Micro QR, Royal Mail 4-state (RM4SCC) and Mailmark, Telepen, Ultracode, UPC-A, UPC-E, UPNQR and USPS Intelligent Mail.
Why we should use Winsoft Barcode because without it we have to wrapped Zint library API into pascal format and also need to give support for multiple platform.That required significant amount of effort. Winsoft Barcode has developed this components in such way where developer can generate and customize barcode by using few lines of code.That results in saving time and effort of the developer.
Here is sample code to generate QR Code.
//Assign Barcode Type
FBarcode1.Symbology := TSymbology.syQRCode;
//Assign Barcode Value
FBarcode1.InputText := 'QR-12345';
//Generate Barcode and Display into Image.
User can customize the output of barcode here is the sample code.
//Set foreground color of barcode
Barcode.ForeColor := TAlphaColorRec.Black;
//Set background color of barcode
Barcode.BackColor := TAlphaColorRec.White;
//Set Border width.
Barcode.BorderWidth := 1;
//Set white space in the barcode.
Barcode.WhiteSpaceWidth := 1;
// Display Text of Barcode.
Barcode.ShowText := True;
// Set Barcode Text size to small;
Barcode.OutputOptions := Barcode.OutputOptions + [opSmallText];
// Set Barcode Text style to Bold;
Barcode.OutputOptions := Barcode.OutputOptions + [opBoldText];
//Draw box around Barcode
Barcode.OutputOptions + [opBox];
//Set Barcode Scale
Barcode.Scale := 1;
//Set Barcode dot size.
Barcode.DotSize := 1;
//Set Barcode angle;
Barcode.Rotation := 0;
Conclusion: It required a few lines of code to generate barcode using this component.
WINSOFT save our time in nailing the Zint library APIs and boost our productivity.
Like what you see? You can get Direct Office and over 100 other fantastic WinSoft components with our Enterprise Component Pack. For a limited time, when you purchase RAD Studio Enterprise or Architect Edition at special Upgrade Pricing, you will also get this package of third-party software worth over $13,000, including the full WinSoft Component Library, at NO EXTRA COST! Step up to RAD Studio 10.4 today!