Highlight text and persist before rendering pdf

Hi,

I’d like to confirm if the text position sample is what you are look for? That sample highlights text after the document is loaded, and the highlight annotations are persisted upon scrolling. If this is not what you looking for, please be more specific about your use case. Also if you could elaborate about what part you are struggling with, that can be helpful.

Thanks,
Zhijie