Example: How to Display QR Code in ReportWorkshop

A new example is posted on the support forum: https://www.trichview.com/forums/viewtopic.php?t=12065

It contains a unit that implements a new field type: “qrcode”

This unit uses Zint Barcode Generator for Delphi, free open source barcode generator.

This is the first version of barcode field object for ReportWorkshop. It supports only QR Codes, and generates results as TMetafile (so it is VCL-only)

This unit implements “qrcode” field type to display text values as QR Codes.

The simplest syntax:

{FIELDNAME qrcode}

This field type has an optional format string, in form of space-delimited list >, with supported properties:

  • size – image size in pixels (default – 100)
  • color – foreground color (default – black)
  • backcolor – background color (default – white)
{VALUE qrcode "color=darkred size=200"}

I plan to extend this unit:

  • to allow generation of all types of barcodes supported by Zint
  • to support more output image formats
  • Lazarus compatibility
  • more parameters in format string
Sergey Tkachenko

Recent Posts

RVMedia 11.2 – RAD Studio 13 Florence, second remuxing

We are pleased to announce a new release of RVMedia. RVMedia now supports RAD Studio…

4 weeks ago

TRichView 24 – RAD Studio 13 Florence, chat, background

We are pleased to announce new releases of TRichView, ScaleRichView, and ReportWorkshop. All components now…

1 month ago

ADUG Symposium – May 9th

The next ADUG Symposium will take place on Friday, 9th May. You can attend in…

6 months ago

ANN: IDEInstaller 2.5

IDEInstaller 2.5 includes support for 64-bit Delphi IDE.

7 months ago

ANN: TRichView 23.2 – Markdown in Clipboard

We have released TRichView 23.2 and updates of related components The main new feature in…

7 months ago

ANN: RVMedia 11.1 – error handling and UDP streaming

RVMedia 11.1 has been released Main new features: UDP streaming with FFmpeg improved error handling…

7 months ago