I have some html which I want to convert to pdf.
<html lang="en">
<body>
<p>Example text</<p>
<br>
<div>
<p id="signature"><p>
</div>
</body>
</html>
But I need to get pdf coordinates of the element with id "signature" so I can later replace it with an image of a signature.
Is there a way to retrieve the coordinates of an element while iText is converting it to pdf?