Accusoft.BarcodeXpress12.Net - Updated
Debug Property
Example 




Accusoft.BarcodeXpressSdk Namespace > BarcodeXpress Class : Debug Property
Gets and sets an indicator which determines if the component writes information to a DebugLogFile or not.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public Property Debug As Boolean
'Usage
 
Dim instance As BarcodeXpress
Dim value As Boolean
 
instance.Debug = value
 
value = instance.Debug
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public bool Debug {get; set;}
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public: __property bool get_Debug();
public: __property void set_Debug( 
   bool value
);
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public:
property bool Debug {
   bool get();
   void set (    bool value);
}

Property Value

A boolean value which is true if the component writes data to a debug log file. Otherwise, false is returned.
Remarks

This method allows you to turn the debug log file on or off without changing any of the other debug settings. When this value is true , the component will write items to the debug log file, as specified by the DebugLogFile.

The default value is false.

Example
...
// Set Debug to true for logging to be performed
bcXpress.Debug = true;
...
See Also

Reference

BarcodeXpress Class
BarcodeXpress Members