SetImagePreProcessing(Count As Integer, FilterArray As String)

FormDef object

Sets the FORMS image filters (FORMS Help topic) to use on the form, according to the form definition.

FORMS’ image filters are accessible in the binary file ImageFilter.cfg. To access a filter, you must know what index the filter has in this file. If you know the name of the filter you want to access, use GetImageFilterNumber to find out its index.

GetPreProcessFilterNames returns the names of all FORMS image filters used on the forms (according to the form definition).

GetImagePreProcessing tells you how many filters are used on the forms (according to the form definition) and the indexes of those filters.

Count 

Number of filters.

FilterArray 

Array of the filter indexes.

To see the Image filters dialog as it applies to form definitions, select Form definition settings (FORMS Help topic) on the Edit menu and click Image filters.

Remarks

Used by the form definition optimizer, which is not included in FORMS 5-3.

The same methods are available on the field definition level:

ShowPreProcFilterDlg

The FormDef object