Hi Ishan,
You can create the QR Code by using the following code snippet and export the QR Code as base64 image and you can use the image any where in your product.
In the following code’s value property you can give the data for R Code
Code Snippet to QR Code:
|
@(Html.EJS().QRCodeGenerator("container").Width("200px").Height("150px").Value("SYNCFUSION").DisplayText(s => s.Visibility(false)).Invalid("invalidInput").Render() ) |
You can export in QR Code as Base64 image by using following code
|
var myCanvas: any= document.getElementById('barcodecontent');
var img3 = new Image;
// get the base 64 image of the generated QR Code
var data = myCanvas.toDataURL();
alert(data)
|
Regards,
Gowtham G.