TwainSetAutomaticDeskew Method

See Also     Examples     Applies To

If this option is available on opened source, try to enable or disable the automatic deskew correction of an image. It may also affect the dimensions of the image.

Syntax

object.TwainSetAutomaticDeskew (bAutoDeskew)

The TwainSetAutomaticDeskew syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
bAutoDeskew Required. Boolean. True to enable automatic deskew, else False.

Returns

Boolean. TRUE if successful, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.

Remarks

Before using this function check that the TWAIN state is TWAIN_SOURCE_OPEN (4)
To get the TWAIN state, use the TwainGetState() function.

Category

TWAIN Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.