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

Asks to the opened source if the Automatic border detection capability is enabled or not.

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

TRUE if the automatic border detection is enabled, FALSE otherwise.

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

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.