FindText makes text disappear

  • Hi,

    I'm trying to implement a straighforward text search for PDF documents displayed within the PDF Viewer and can't figure out which calls I should be making to do this. So far I am seeing search text disappear! I am looking at a PDF document that contains the word "Product on various pages.

    This results in most instances of "Product" string being shortened to highlighted "P". And some instances disappear completely!

    I've also tried to use the FindAltText function which the documentation states should be used to find case-insensitive text. This function doesn't work either.

    Can you point me in the right direction?

    Thanks,
    Damien

  • On further investigation the the text is being found and highlighted correctly BUT the text on the line containing the search result is being shrunk considerably so that it looks like its disappearing. I had to zoom 500% to see this.

    Using the WPView PDF demo open this PDF file:


    Then search for "Nike" to see the text shrinking.