DTWAIN_FrameSetValue

Top  Previous  Next

The DTWAIN_FrameSetValue function sets a value in a DTWAIN_FRAME.

 

DTWAIN_BOOL DTWAIN_FrameSetValue (

DTWAIN_FRAME

Frame,

LONG

WhichValue,

DTWAIN_FLOAT

lValue );

 

Parameters

Frame

A valid DTWAIN_FRAME type.

 

WhichValue

Frame value to set

 

Value

New frame value.

 

Return Values

If the function succeeds, TRUE is returned.  If the function fails FALSE is returned.

 

Comments

The DTWAIN_FrameSetValue function sets a value in the DTWAIN_FRAME Frame.  The WhichValue denotes the value in the DTWAIN_FRAME that is to be set.  The WhichValue can be one of the following:

 

 

Constant

Value

Defintion

DTWAIN_FRAMELEFT        

1        

Left value

DTWAIN_FRAMETOP        

2

Top value

DTWAIN_FRAMERIGHT

3        

Right value

DTWAIN_FRAMEBOTTOM        

4        

Bottom

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

DTWAIN Frame Functions