How to know the X and Y coordinates point in a PDF document
If you work with PDF-lib.js you may need to know the X and Y coordinates point in a PDF document.
There is a tip to show the coordinates with InkScape for Windows. Inkscape is also available for Linux.
Download at https://inkscape.org/fr.
- Open your PDF file with InkScape
- On the popup screen Check
Import Poppler/Cairo
![Get X & Y coordinates point in PDF document with Inkscape 2 inkscape Get X Y coordinates point in PDF document with Inkscape import do do that - Get X & Y coordinates point in PDF document with Inkscape](https://i0.wp.com/gitbook.deddy.me/wp-content/uploads/2023/01/inkscape-Get-X-Y-coordinates-point-in-PDF-document-with-Inkscape-import-do-do-that-.jpg?resize=704%2C519&ssl=1)
![Get X & Y coordinates point in PDF document with Inkscape 3 Get X Y coordinates point in PDF document with Inkscape import do do that - Get X & Y coordinates point in PDF document with Inkscape](https://i0.wp.com/gitbook.deddy.me/wp-content/uploads/2023/01/Get-X-Y-coordinates-point-in-PDF-document-with-Inkscape-import-do-do-that.jpg?resize=704%2C519&ssl=1)
3. In File > Document Properties .. > Verify that pt
is selected in Format and Display units. And scale must be set to 1,000000
![Get X & Y coordinates point in PDF document with Inkscape 4 Get X Y coordinates point in PDF document with Inkscape propriete document verify point et echelle - Get X & Y coordinates point in PDF document with Inkscape](https://i0.wp.com/gitbook.deddy.me/wp-content/uploads/2023/01/Get-X-Y-coordinates-point-in-PDF-document-with-Inkscape-propriete-document-verify-point-et-echelle.png?resize=668%2C588&ssl=1)
4. Now you can see at the bottom right of the screen the X and Y coordinates.