Filter Tagged PDF Content

A tagged PDF contains an additional layer of text for visually impaired readers. This text is used in text-to-speech features in various PDF viewing programs. You can enable filtering of tagged PDF text in the API.

Filtering the extra layer of tagged content might result in duplicate text in the output. This is the expected behavior.

To filter tagged PDF content

  1. Call the fpInit() function.
  2. Call the fpSetConfig() function with the following arguments:

    Argument Parameter
    nType KVFLT_EXPORTTAGGEDCONTENT
    nValue TRUE
    pData NULL

    For example:

    (*fpSetConfig)(pKVFilter, KVFLT_EXPORTTAGGEDCONTENT, TRUE, NULL);