Get coordinates of html element when converting from pdf to html in iText.Html2pdf

Viewed 25

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?

0 Answers
Related