I am creating using Aspose PDF. Saving the coordinates [X,Y,Width,Height] for each check box I draw on the PDF. At the same time I am creating an OMR template. I am creating choice controls setting the location using to the same coordinates as the check box on the PDF. I am saving the PDF page as BMP with a resolution of 288 to load the AMR image property.
The documentation states that ARM template expects offsets in millimeters so my coordinates in the AMR are wrong.
How can I make the translation from PDF coordinates to the create a the correct coordinates for a choice box in the AMR template?