SetScanEmulateInfo(SourceDir As String, Pattern As String, SortMode As Integer) As Long

Job object

This function sets the so-called emulation settings in the running job. The settings must be saved explicitly by the external code.

If SourceDir is set to "", the ini settings are used.

SortMode should be set to 0 = FAT order, 1=Name order, or 2=Time order

Pattern should be set to the file name search pattern, usually *.TIF.

Remarks

For use in the FORMS Scan module only.

Note that Scan emulate mode is for test purposes only.

GetScanEmulateInfo

The Job object