TwainSetAutomaticRotation Method

See Also     Examples     Applies To

If this option is available on opened source, try to enable or disable the automatic rotation of an image.

Syntax

object.TwainSetAutomaticRotation (bAutoDeskew)

The TwainSetAutomaticRotation syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
bAutoDeskew Required. Boolean.

Returns

Boolean. TRUE if successful, FALSE otherwise.

Remarks

Before using this method check that the TWAIN state is TWAIN_SOURCE_OPEN (4)
To get the TWAIN state, use the TwainGetState() method.
There are no criteria for how this automatic rotation is determined. A Source may use a field of text, or some distinguishing non-text field, such as a barcode or a logo, or it may rely on form recognition to help rotate the document.

Category

TWAIN Capability





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.