VintaSoft Twain .NET SDK v10.2
EnableDebuggingInBrowser(Stream) Method




Vintasoft.Twain Namespace > TwainEnvironment Class > EnableDebuggingInBrowser Method : EnableDebuggingInBrowser(Stream) Method
Debug information will be written to this stream.
Enables the debugging (use this method in JavaScript only).
Syntax
'Declaration
 
Public Overloads Sub EnableDebuggingInBrowser( _
   ByVal stream As Stream _
) 
'Usage
 
Dim instance As TwainEnvironment
Dim stream As Stream
 
instance.EnableDebuggingInBrowser(stream)
public void EnableDebuggingInBrowser( 
   Stream stream
)
public: void EnableDebuggingInBrowser( 
   Stream* stream
) 
public:
void EnableDebuggingInBrowser( 
   Stream^ stream
) 

Parameters

stream
Debug information will be written to this stream.
Exceptions
ExceptionDescription
Thrown if stream is null.
Thrown if stream does not have write access.
Thrown if debugging is already enabled.
Remarks
Stream must be accessible for writing.

Debug information is added to the stream, stream is not truncated if it is not empty.

Stream will not be closed when debugging will be disabled.
Requirements

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

TwainEnvironment Class
TwainEnvironment Members
Overload List
IsDebuggingEnabledInBrowser Property
DisableDebuggingInBrowser Method
DebugLevelInBrowser Property