Table of contents
↗️ Via coordinates
A method consists in indicating the coordinates of the signature fields on the PDF, together with the page number. In this case, the team of the IO app will insert the signature fields in the indicted points.
To be able to indicate a section in the PDF where to place the graphic signature rectangle, you must provide:
- the coordinates from a starting point, taking as a reference point the top left edge (the "0.0" you see in the image below);
- the box dimensions;
- the page where to insert it (remember the pages start from 0).
How to calculate the coordinates and dimension of the rectangle
To be able to easily calculate the coordinates and dimensions of the rectangle, we recommend using GIMP, a free open source tool available for all operating systems.
Proceed as follows:
- download GIMP from the official website and proceed with installation;
- open GIMP;
- select File > Open and open the PDF module or template to send to be signed;
- if the PDF has more than one page, select the one where the graphic signature should be displayed;
- use the mouse to draw the rectangle in which the user must place their signature, starting from the top left point of the rectangle;
The information to be indicated will be shown in the fields Position and Dimensions. Make sure that the unit of measure is set in points (pt) both for the position as well as the dimensions.
Based on the above example, the attrs property of the dossier will be as follows (the decimal part can be ignored):
1"attrs":{
2 "coordinates":{
3 "x":85,
4 "y":676
5 },
6 "size":{
7 "w":177,
8 "h":77
9 },
10 "page":0
11}
12Ongoing support
For problems or questions after integration, write to us at the address enti-firmaconio@assistenza.pagopa.it