Thanks for sharing information.
In your original document, the image in header we can see doesn't exist in content control, which is only a image, so actually the content control doesn't have image, so there will be two images after replacing the image.
Concerning the other issue, the image is inserted into document as its original size, if you want it to be same as the previous image size, you need to get the previous image size, then scale the new inserted image like as below.
- Code: Select all
picture.HeightScale = 58;
picture.WidthScale = 58;
Sincerely,
Betsy
E-iceblue support team