How to create VCARD using QR Barcode in WinForms?
Yes it is possible to create VCARD using QR WinForms Barcode, for this input of the QR barcode should be separated by using ā\nā. Please check the code snippet below.
C#:
QRBarcodeSetting setting = new QRBarcodeSetting(); sfBarcode.Symbology = BarcodeSymbolType.QRBarcode; setting.XDimension = 6; sfBarcode3.SymbologySettings = setting;
string vCardText = "BEGIN:VCARD\r\nVERSION:2.1\r\nN:"; vCardText += "ADR:" + textBox1.Text + "\r\n"; vCardText += "EMAIL:" + textBox2.Text + "\r\n"; vCardText += "TEL:" + textBox3.Text + "\r\n"; vCardText += "END:VCARD";
sfBarcode.Text = vCardText; sfBarcode.DisplayText = false;
|
Conclusion
I hope you enjoyed learning about how to create VCARD using QR Barcode in WinForms.
You can refer to our WinForms Barcode feature tour page to know about its other groundbreaking feature representations. You can also explore our documentation to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!