I have a userform that imports a picture that has been taken via camera (on board in the case of a tablet).
the picture is displayed inside n inkpicture control, so the user can add notes or drawings to the photo.
The issue is to make the image easily viewable I have made the Inkpicture control large and set the properties to stretch image to fit the control.
However when the user selects the confirm photo control button the image is saved, with the ink strokes, BUT the strokes don't align with the photo anymore. I think the photo is saved in the original resolution, but the ink strokes are saved in the areas they sit in the ink picture control.
Code below and two screen shots to help illustrate, (Hopefully).
I would like to have the image save the ink strokes in the correct locations, while keeping the properties as they are, otherwise the image is hard to see in the userform.
Thanks in advance,
First how the image looks in userform I have added the black lines onto the image, hopefully the image will help show the issue
The second image is the same after saving the inkpicture image, as you can see the black lines are no longer aligned to where they were.
save file capture.JPG
This is the code to save the image,