GetImageFilterNumber(FilterName As String) As Integer

Application 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. GetImageFilterNumber returns the index when you supply the name of the filter.

You can then use this index in the following methods:

FieldDef.GetImagePreProcessing

FieldDef.SetImagePreProcessing

FormDef.GetImagePreProcessing

FormDef.SetImagePreProcessing

To see the Image filters dialog in FORMS, select Edit ð Form definition settings (FORMS Help topic) and click Image filters.

Return value

Returns the index for the filter called FilterName. If the filter name is not recognized, –1 is returned.

Remarks

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

ShowPreProcFilterDlg

The Application object