Word Document methods
Posted on 2002-07-14
After I open with word a basic document i wish to add one by one pictures (or document) after the base document text.
The problem is that the pictures i add are always inserting before the original text (top document), and not on the bottom of the document.
I Also want that every picture will stretch as much as possible to the word document width.
how can i fix it ? ?
Here is my code
WordApp := GetActiveOleObject('Word.Application');
except on exception do
WordApp := CreateOleObject('Word.Application');
i.e. the document shoud be in that order
1) Original text
2) picture #1 (how to stretch ?)
2) picture #2
Its look like the cursor is not on the right location (on the top and not on the buttom)
I use delphi 5Pro