Hello,
I’ve some files with inside 5 form fields each…I’ve got the specific in CM how do I set the form position considering that FormFieldFacade has a Rectangle property called Box?
I searched for a helper class to convert from cm to unit but nothing…
Thanks
Paolo
Hi Paolo,
Thanks for using our products.
Please note that the basic unit of working with objects inside PDF is point and 1 inch = 72 points and 1 cm = 1/2.54 inch = 0.3937 inch = 28.3 points.
When working with images, the conversion from Point to Pixel depends on dpi (dots per inch) property of an image. For example, if dpi for some image equals 96 (that means it has 96 pixels for each inch), and it has 100 points height, its height in pixels is 100 / 72 * 96 = 133.3. General formula is:
Pixels = Points / 72 * dpi.
In the event of any further query, please feel free to contact.