| C1.Web.Wijmo.Controls.C1QRCode Namespace > C1QRCode Class : EncodingException Property |
'Declaration<System.ComponentModel.BrowsableAttribute(False)> Public ReadOnly Property EncodingException As System.Exception
[System.ComponentModel.Browsable(false)] public System.Exception EncodingException {get;}
The C1QRCode control can be used to encode up to 652 digits, or 395 alphanumeric characters (uppercase only), or 271 bytes.
If these limits are exceeded, or if any of the control properties is set to values that prevent the content of the Text property from being encoded, the control remains blank, and the EncodingException property contains details that explain why the code could not be generated.
c1QRCode1.Text = textBox1.Text; label1.Text = c1QRCode1.EncodingException == null ? string.Empty : c1QRCode1.EncodingException.Message;
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2