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 12 – FFmpeg 8, speech to text (Whisper)

RVMedia 12.0 has been released. The trial version can be downloaded from https://www.trichview.com/download/ The full version:…

4 weeks ago

TRichView 24.1.3 – Copying and pasting images

This update improves clipboard image support in the Windows version of TRichView. Previously, the components…

2 months ago

ReportWorkshop 7.0 – charts, SVG shapes

We are pleased to announce a new release of ReportWorkshop. This update is free for…

3 months ago

TRichView 24.0.3 – New images for dialogs

RichView 24.0.3 includes a new set of images for dialog boxes of RichViewActions and ScaleRichView…

7 months ago

TRichView 24.0.2 – new background dialogs

This update completes the work on the new background definition system (well, almost).The new properties…

8 months ago

RVMedia 11.2 – RAD Studio 13 Florence, second remuxing

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

9 months ago