Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8647 Reply

    Hiren Patel

    Hello Dr.

    I am trying 30 days trail version of plug pdf and my requirement is that i want to apply particular word for search and assign to annotation highlight that word.
    So is there any custom function that we find RectF for word and can make highlight that particular area.

    Thanks,
    Hiren

    #8669 Reply

    Dr. Plug
    Moderator

    Hi Hiren

    Actually our PlugPDF can support what you want.
    At first, if you used a
    RectF[] getSearchPage(int pageIdx, String text, boolean includeUnAccentSearchResults)
    method which is in PDFDocument. you can get a RectF[].
    And next, if you used a
    enableSearchHighlight(RectF searchBoxes[])
    which is in PageView, you can highlight the word you want.

    Best Regards,
    Dr.Plug

    • This reply was modified 1 year, 6 months ago by  Dr. Plug.
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Customization for annotation
Your information: