See Also Examples Applies To
Sets into an array the available image file format values which can be used by the opened source in its current configuration for file transfer mode.
Syntax
object.TwainGetAvailableImageFileFormat (*arValues())
The TwainGetAvailableImageFileFormat syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| *arValues() |
Required. Output 1D (0 based) Long Array. Can contain: TWFF_TIFF = 0 - Tagged Image File Format. TWFF_PICT = 1 - Macintosh PICT. TWFF_BMP = 2 - Windows Bitmap. TWFF_XBM = 3 - X-Windows Bitmap. TWFF_JFIF = 4 - JPEG File Interchange Format. TWFF_FPX = 5 - Flash Pix. TWFF_TIFFMULTI = 6 - Multi-page tiff file. TWFF_PNG = 7 - Portable Network Graphics. TWFF_SPIFF = 8 - Still Picture Interchange File Format. TWFF_EXIF = 9. TWPT_PDF = 10 TWPT_JPEG2000 = 11 |
Returns
Long. If Success, non zéro: The number of values stored into the arValues array. Else 0 if fail -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.
Remarks
Before using this function check that the TWAIN state is >= 4 (TWAIN_SOURCE_OPEN)
To get the TWAIN state, use the TwainGetState() function.
Category
TWAIN Functions