GetItemFromEnum  Method

Description         This method retrieves the specified value from the enumeration of capability. Use GetCapabilityEnum to retrieve the enumeration of capability.

Usage                  ret = [form.]TWAIN. GetItemFromEnum Enum Item

Returns               ret                           Double            Value of capability on the specified position in the enumeration.

Remarks             Enum                     LONGLONG Handle to the enumeration.

                            Item                        Long                Zero based integer. This value must be between 0 and GetNumOfItemsInEnum - 1.

Programing Notes     See ErrorCode property for error. If operation succeded the error code will be TW_OK.

See Also              GetCapabilityEnum Method, ReleaseData Method

 

GetKeepTwainScanDialogOpen Method

Description        Returns that the Twain dialog of the scanner driver will close or remain open after the scanning. In order to set this value use the SetKeepTwainScanDialogOpen function. If not set the default value is FALSE.

Usage                  [form.]TWAIN. GetKeepTwainScanDialogOpen

Returns                     ret                    Bool               TRUE The Twain dialog of the scanner will remain

open after the scanning (new scanning can be started from the Twain dialog).

FALSE            The Twain dialog of the scanner will close after the scanning.

Remarks            

Programing Notes    

See Also             SetKeepTwainScanDialogOpen Method