Accusoft.TwainPro9.Net
Debug Property




Gets or 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 TwainPro
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 property 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 and DebugErrorLevel properties.

Default value: false

Example

...

// Set Debug to true for logging to be performed

tp.Debug = true;

...

See Also

Reference

TwainPro Class
TwainPro Members
DebugLogFile Property
DebugErrorLevel Property
DebugLogFile Property
DebugErrorLevel Property

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback