When using aspose. barcode, you can use a non-English character set to generate a two-dimensional code, for example, 文,,, and so on. The maximum number of characters is 1000. The following is an example of generating a QR code using Turkish text and Chinese text:
Create a PDF417 QR code with Turkish characters
C #
// Generate the barcode BarCodeBuilder builder = new BarCodeBuilder(); // Set symbology type builder.SymbologyType = Symbology.Pdf417; // Set the code text string codetext = "AYŞE" + "\n" + "Ümit" + "\n" + "Ümit@estee.com" + "\n" + "Türkiye"; builder.CodeText = codetext; // Set the display text builder.DisplayText = codetext; builder.Save("c:\\barcode.png");
VB. NET
' Generate the barcode Dim builder As New BarCodeBuilder() ' Set symbology type builder.SymbologyType = Symbology.Pdf417 ' Set the code text Dim codetext As String = "AYŞE" + vbLf + "Ümit" + vbLf + "Ümit@estee.com" + vbLf + "Türkiye" builder.CodeText = codetext ' Set the display text builder.DisplayText = codetext builder.Save("c:\\barcode.png")
Create a QR code in Chinese
C #
// Generate the barcode barcodebuilder builder = new barcodebuilder (); // set symbology type builder. symbologytype = symbology. 2017417; // set the code text string codetext = "trapped by floods"; builder. codetext = codetext; // set the display text builder. displaytext = codetext; builder. save ("C: \ barcode.png ");
VB. NET
'Generate the barcode dim Builder as new barcodebuilder () 'set symbology type builder. symbologytype = symbology. 2017417 'set the code text dim codetext as string = "trapped by floods" builder. codetext = codetext 'set the display text builder. displaytext = codetext builder. save ("C: \ barcode.png ")