SetImagePreProcessing(Count As Integer, FilterArray As String )

FieldDef object

Sets the FORMS image filters (FORMS Help topic) to use on the field, according to the field 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.

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

Out parameters

Out parameter

Description

Count 

Number of filters.

FilterArray 

Array of the filter indexes.

To see the Image filters dialog as it applies to a field definition, use the Manager and double-click the field. In the Field dialog, click the Advanced tab. 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 form definition level:

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

ShowPreProcFilterDlg

The FieldDef object