SetImageType

Specifies the extensions of image file types to use, defaults to .tif.

Syntax

bool SetImageType (StrParam)

Parameters

String value of the file's identifying extension. If you are listing multiple types, separate each one with a comma.

It is not necessary to include a period before each extension. The parameters are not case-sensitive.

Returns

True, if the parameter is one of the values that is specified above. Otherwise, False.

Level

Any level but usually the batch level.

Details

Uses the value of a file extension to specify the type of files the task scans.

This is an optional vScan action. The task scans .tif files by default. For this action to take effect, it must be called before the Scan action.

This action automatically enables Fast Mode scanning, if the input parameter is not a single extension of type .tiff, .tif, .jpeg, or.jpg.

Example
SetImageType(".tif)
Scan()           

This sequence scans only TIF files and does not enable Fast Mode.

SetImageType("tiff")
Scan()

This sequence scans only TIFF files and does not enable Fast Mode.

SetImageType("bmp,jpg,jpeg,msg,tif,tiff,pdf,zip,doc,docx,xls,xlsx,eml,gif")
Scan()

This sequence scans all file types listed and enables Fast Mode.