TwainSetCurrentResolution Method

See Also     Examples     Applies To

Tries to set the current resolution (in both x & y).
Resolution is in dots per inch.

Syntax

object.TwainSetCurrentResolution (nResolution)

The TwainSetCurrentResolution syntax has these parts:

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

Returns

Boolean. True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.

Remarks

'The source may select this resolution, but don't assume it will.
Before using this function check that the TWAIN state is 4 (TWAIN_SOURCE_OPEN)
To get the TWAIN state, use the TwainGetState() function.

Category

TWAIN Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.