c# - Remove text box of MS word document -
I have some MS Word documents that contain text in text boxes, but I want to remove those text boxes but this form of data Should be kept in how can I do this?
I think you can hold something using text inside the text box like ActiveDocument.Shapes (1) .TextFrame.TextRange.Text
and then you can remove it by doing something like ActiveDocument.Shapes (1).
Delete, and after that you have to insert the text from the text box in the relevant part of the document.
Comments
Post a Comment