How to create a QR code in memory?

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

How to create a QR code in memory?

Postby fredywenger » Wed Jan 04, 2017 6:10 pm

We have a (vb.net) application that creates invoices as .rtf files.
At runtime, a template (.rtf invoice with included images like logo and various variables) is loaded and the various variables (in the .rtf template) are replaced with data from a SQL server.
We now have to add a QR code to the invoice, that also has to be generated dynamically.

The idea is, to create the QR-code in memory (without save it as image) and then change a variable (placeholder) in the .rtf template thru the generated QR code (like the other variables).
So... how to do this with VPE?

Thanks for a feedback
fredywenger
 
Posts: 4
Joined: Wed Sep 18, 2013 10:26 am

Re: How to create a QR code in memory?

Postby IDEAL Software Support » Fri Jan 06, 2017 5:00 pm

I think there is no other way, but to export the QRCode as an image.

To increase performance, you can export the QRCode to a VPE memory stream, see PictureExportStream().
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 7 guests

cron