SetResolutionY

#include "BiTwain.h"

 

int CALLBACK SetResolutionY(UINT resy)

Description

This function specifies the vertical resolution of the scanner.

Important: Before scanning, if the scanner specific driver user interface is enabled, the driver most likely will overwrite the vertical resolution value set by this function.

Parameters

UINT

resx

Vertical resolution.

Return values

Return TW_OK on success or an error code on failure.
Return TW_INVALIDPARAMETER if the resy parameter is invalid for the scanner.

Requirements

Header :     Declared in BiTwain.h; include BiTwain.h.

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.