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

About compatibility with RAD Studio 13.2

Embarcadero has just released RAD Studio 13.2. All our components are compatible with this version,…

2 weeks ago

RVMedia 12.1 – FFmpeg-related improvements

RVMedia has been updated to the version 12.1. Information about video This update adds a…

2 weeks ago

TRichView 24.2 – UI controls for FireMonkey again

We are pleased to announce the new release of TRichView, version 24.3. A trial version…

4 weeks ago

TRichView 24.2 – UI controls for FireMonkey

We are pleased to announce the new release of TRichView, version 24.2. A trial version…

2 months ago

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 months ago

TRichView 24.1.3 – Copying and pasting images

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

5 months ago