GetImagePreProcessing(ByRef Count As Integer, ByRef FilterArray As String)

FieldDef object

FORMS image filters (FORMS Help topic) are accessible in the binary file ImageFilter.cfg. To access a filter, you must know what index the filter has in this file. GetImagePreProcessing tells you how many filters are used on the field (according to the field definition) and the indexes of those filters.

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.

Out parameters

Out parameter

Description

Count 

Number of filters.

FilterArray 

Array of the filter indexes.

Remarks

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

If you know the name of the filter you want to access, use GetImageFilterNumber to find out its index.

Use SetImagePreProcessing to reset the filters on the field definition level.

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