Hello,
when I insert a text in the header, the content is not displayed:
Code
rtf.ActiveText := rtf.HeaderFooter.Get(wpIsHeader, wpraOnFirstPage);
obj := rtf.TextObjects.InsertTextBox(1000, 1000, block);
obj.Mode := [wpobjDrawAsText];
block.RtfText.AsString := 'Hello World';
If I save the document, the <txtobj> is stored under
<element kind="Header" Range="OnFirstPage">
If I use
rtf.ActiveText := rtf.BodyText;
its working
Mfg, Kai Brendel