QRCode consists of four encoding modes:
Complete the following steps, to change the encoding mode of the QRCode control.
Set the Encoding property within the <cc1:C1QRCode> tag, to change the encoding mode of the QRCode.
| Source View |
Copy Code
|
|---|---|
<cc1:C1QRCode ID="C1QRCode1" runat="server" Encoding="Byte" Text="QRCode Sample Text" /> |
|
Add the following code to the Page_Load event, to set the Encoding property in code view.
| C# |
Copy Code
|
|---|---|
C1QRCode1.Encoding = C1.Web.Wijmo.Controls.C1QRCode.Encoding.Byte; |
|
| VB |
Copy Code
|
|---|---|
C1QRCode1.Encoding = C1.Web.Wijmo.Controls.C1QRCode.Encoding.Byte |
|
The encoding mode has been changed to Byte, so characters including lower case letters, digits as well as punctuations can be encoded into the QRCode.