| C1.WPF.BarCode Namespace > C1BarCode Class : EncodingException Property |
'Declaration Public ReadOnly Property EncodingException As BarCodeException
public BarCodeException EncodingException {get;}
Most encodings have limitations that determine what type of text it can represent. For example, some are numeric-only and some require text of a specific length.
If the value of the Text property cannot be represented using the current CodeType, then the error message will be shown in the control.
In this case, the EncodingException property returns details about the exception that prevented the bar code from being generated.
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