You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > TWAIN Features > TwainIsDeviceOnline Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.TwainIsDeviceOnline Method

Returns the online statue of the current data source.

C#
public Boolean TwainIsDeviceOnline();
Visual Basic
Public Function TwainIsDeviceOnline() As Boolean
Returns

True if the current data source is powered on and communicating, else False.

Before using this function check that the TWAIN state is >= 4 (TWAIN_SOURCE_OPEN) 

To get the TWAIN state, use the TwainGetState() function.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.