Modifying text masks
You can modify any of the text mask definitions that were created with AFP Editor.
- In AFP Visual Environment, open a sample AFP file and the control file that contains the definitions for the text masks. Then click .
- Click .
- Select the text mask that you want to modify.
- Click Modify, or double-click.You see the Modify Text Mask window.
- Optional: Type another mask character if you do not want to use the default character. The value in the Masked value field changes to the character you selected.
- Optional: To edit the text mask value, click Edit text mask. Edit the value in the Edit Value window and click OK.
- Optional: Although text might appear to be present in the same location on each statement,
slight position variations can occur in the AFP file. To change the threshold to look
for a text value that is in slightly different positions on some pages, click the
Advanced tab. You can select a range from 1/100 to 1 inch.
The threshold defines how far the text can be from the original location and be considered a mask value. For example, a threshold value of 12 indicates that the mask value can be located within .12 of an inch either vertically or horizontally. Usually the default threshold value of 10 is sufficient.
Keep in mind that if you increase the threshold above the default value, you might mask text you did not expect because the match is only done on location, so the first text block found in the threshold range is used as the text mask.
- Click OK.
- To close the Modify and Delete Definitions window, click X in the upper right corner.