I want to highlight a text passage in a PDF document using iText. This passage can also span across several lines, so the highlighted region is not necessarily one rectangle.
But to the PdfAnnotation.createMarkup(...)
methods I can only pass or describe one rectangle and also the PDF reference only allows for four QuadPoints
to describe the region.
I would be very happy if I could achieve this with one single annotation. I know that this is possible, because I have seen documents with multi lined highlighted regions that showed up as one single entry in the annotations list.