A
Andrew Mercer
Hi,
I am building a word document using C# and Word .NET Programmability however
I have a question that I cannot find the answer for.
I have designed the Word template with embedded bookmarks.
When I build the document I dynamically place text at each book mark position.
The base document also has some other fixed text in it.
However in the completed document the original text is always moved.
EG:
Original document
MyText More MyText
Completed document
MyText [C# Added Text] More MyText
It seems that the original text is moved along a number of tab spaces
depending on the size of the text being added.
Is there anyway to prevent this so that the layout of the completed document
is the
same as the original (the only difference is the added text)?
I know that the spaces I left in the template are sufficient for the text I
want to add.
Any help/advice greatly appreciated.
Regards Andrew
I am building a word document using C# and Word .NET Programmability however
I have a question that I cannot find the answer for.
I have designed the Word template with embedded bookmarks.
When I build the document I dynamically place text at each book mark position.
The base document also has some other fixed text in it.
However in the completed document the original text is always moved.
EG:
Original document
MyText More MyText
Completed document
MyText [C# Added Text] More MyText
It seems that the original text is moved along a number of tab spaces
depending on the size of the text being added.
Is there anyway to prevent this so that the layout of the completed document
is the
same as the original (the only difference is the added text)?
I know that the spaces I left in the template are sufficient for the text I
want to add.
Any help/advice greatly appreciated.
Regards Andrew