GetScanModeAt  Method

Description         This method retrieves the value of scan mode in the specified position. Use  GetAvailableScanModes Method to retrieve the array of scanning modes.

Usage                  ret = [form.]TWAIN. GetScanModeAt ScanModes Item

Returns               ret                           Long                Returns the value of scan mode.

Remarks             ScanModes                        LONGLONG Handle of the array of available scan modes.

                            Item                                    Long    Position in the array.

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

See Also              GetAvailableScanModes Method, ReleaseData Method