I'm developing a VSTO Add-in in word using C#.
My program features add lines and pictures to a predetermined place, but when I save the document, the position of the line drawing and the font size change.
-- Before the document is saved --
-- After the document is saved --
you can see that the position of the top bottom line and also the image changes from the position before the save and after the document is saved.
but if the document is printed to pdf before saving then the position result is the same as before saving and if the document is saved then printed to pdf the position result is the same as after saving.
can anyone help answer why the position has changed?
I've been looking for a few days to find out why it can change but the results are not good.
I thank you for any answers or suggestions.

