Modifying text masks

You can modify any of the text mask definitions that were created with AFP Editor.
To modify a text mask:
  1. In AFP Visual Environment, open a sample AFP file and the control file that contains the definitions for the text masks. Then click Mode AFP Editor.
  2. Click Tools Definitions Modify and Delete.
  3. Select the text mask that you want to modify.
  4. Click Modify, or double-click.
    You see the Modify Text Mask window.
  5. 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.
  6. Optional: To edit the text mask value, click Edit text mask. Edit the value in the Edit Value window and click OK.
  7. 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.

  8. Click OK.
  9. To close the Modify and Delete Definitions window, click X in the upper right corner.