L_TwainFloatToFix32

#include "lttwn.h"

L_LTTWN_API TW_FIX32 L_TwainFloatToFix32(fFloater)

L_FLOAT fFloater;

/* any floating point value */

Converts a floating point value to a TW_FIX32 structure

Parameter

Description

fFloater

Any floating point value.

Returns

TW_FIX32

Returns the result of the conversion as a TW_FIX32 structure.  For information about this structure please consult the Twain Specification found at www.twain.org.

Comments

Use this function to convert a floating point value to a TW_FIX32 structure for use in LEADTOOLS functions.  Check the "See Also" section below for a list of functions which require a TW_FIX32.

Required DLLs and Libraries

LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

L_TwainSetImageFrame, L_TwainSetImageEffects, L_TwainSetResolution, L_TwainCreateNumericContainerEnum, L_TwainCreateNumericContainerOneValue, L_TwainCreateNumericContainerRange, L_TwainFix32ToFloat

Topics:

Getting and Setting Capabilities

 

TWAIN Functionality: Capability Functions

Example

For an example, refer to L_TwainSetResolution.