DTWAIN_SetSourceUnit
The DTWAIN_SetSourceUnit sets the current unit of measure used by a Source.
DTWAIN_BOOL DTWAIN_SetSourceUnit (
Parameters Source Specifies a TWAIN Source.
Unit Unit of measure to set the Source to.
Return Values If the function succeeds, TRUE is returned. If unsuccessful, FALSE is returned.
Comments The DTWAIN_SetSourceUnit function sets the current unit of measure to Unit for the Source Source.
The unit of measure determines which unit the Source is using when describing certain quantities such as image size. For more information on units of measure used by the Source, see Units of Measure and Image Acquisition.
TWAIN State Transitions The Source must be in State 4 or higher.
Prerequisite Function Call(s)
DTWAIN Source Selection Function
See Also |