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 dialog as it applies to a field definition, use the Manager and double-click the field. In the dialog, click the tab. Click .
|
Out parameter |
Description |
|
Count |
Number of filters. |
|
FilterArray |
Array of the filter indexes. |
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:
FormDef.GetImagePreProcessing
FormDef.SetImagePreProcessing
In addition, GetPreProcessFilterNames returns the names of all FORMS image filters used on the forms (according to the form definition).