I've got a Document that has a text box in it.
In code, I want to insert an image into that text box, but I want the image width/height to be the same as the text box width/height.
Is there any way I can do this?
The bigger picture is that inside that textbox is a merge field, I then:
- Perform a merge
- Go to that field that is within the textbox
- Insert an image
Right now I'm manually specifying the width and height for the image, but I really want the image to take on the dimensions of the text box it is in.