DTWAIN_FrameSetAllString

Top  Previous  Next

The DTWAIN_FrameSetAllString function sets the low, high, step, default, and current values in the DTWAIN_FRAME.  The values are string versions of the floating point values.

 

DTWAIN_BOOL DTWAIN_FrameSetAllString (

DTWAIN_FRAME

Frame,

LPCTSTR

Left,

LPCTSTR

Top,

LPCTSTR

Right,

LPCTSTR

Bottom );

 

Parameters

Range

A valid DTWAIN_FRAME type.

 

Left

Left (x) value of the DTWAIN_FRAME.

 

Top

Top (y) value of DTWAIN_FRAME.

 

Right

Right (x) value of DTWAIN_FRAME

 

Bottom

Bottom (y) value of DTWAIN_FRAME

 

Return Values

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

 

Character specific version

ANSI version:

DTWAIN_FrameSetAllStringA

Unicode version:

DTWAIN_FrameSetAllStringW


Comments

The DTWAIN_FrameSetAllString function works exactly the same way as DTWAIN_FrameSetAll, with the exception of the Left, Top, Right, and Bottom parameters are strings that will denote the floating point values.  


Use this function if the computer language you are using does not support IEEE 64-bit double values as floats (for example, XBase++).

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

DTWAIN Frame Functions