Hello,
Thanks for your feedback.
According to my understanding, what you want is to use the Spire.PDFViewer to view PDF document and allow your users to drag a rectangle and highlight it. Actually, combining features of Spire.PDFViewer and Spire.PDF can achieve your needs. The realization principle is that the Spire.PDF adds annotation with highlighting according the dragged rectangle, saves the PDF to stream and then use Spire.PDFViewer to view the stream again. In this case, it is impossible to open the document once and not have to keep saving and re-loading.
If there is any misunderstanding, please provide more information, like your input PDF and expected effect to help us better investigate your problem. You can attach your document here or send it to us via email (
support@e-iceblue.com). Thank you in advance.
Sincerely,
Kylie
E-iceblue support team