Xbasic
QRCode::Creator::GenerateSVG Method
Syntax
PUBLIC STATIC GenerateSVG AS C (text AS C, correctionLevel AS C)
Arguments
- text AS C
QRCode input
- correctionLevel AS C
Correction level can be L,M,Q or H (L=7%, M=15%, Q=25%, H=30%). See QRCode Namespace for more information.
Description
GenerateSVG creates a QRCode as an SVG image.
Discussion
Generates a QR Code as an SVG image. For example,
Example
::QRCode::Creator::GenerateSVG("Hello world","M")
Generates an SVG QR Code (shown below):
See Also