We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to create VCARD using QR Barcode

How to create VCARD using QR Barcode:

Yes it is possible to create VCARD using QR 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;

 

 

 

Sample Link:

http://www.syncfusion.com/downloads/support/directtrac/139254/WindowsFormsApplication201835615175.zip

 

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
4967 05/23/2015 05/23/2015 Windows Forms SfBarcode
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.