RichTextBox and C#

  • Thread starter Thread starter Alexander Stuckenholz
  • Start date Start date
A

Alexander Stuckenholz

Hello.

I´m trying to load a RTF-File into a RichTextBox by using the LoadFile
command.
The Rtf-File was created in Word and has a header and a footer.
When loaded into the component whether the header nor the footer is
shown.

What do i have to do?
If the component isn´t able to load such elements, can anybody tell me
if there´s a component which supports such functions?

Thnx.

Alex
 
Alexander,

Are you sure that the RTF specification supports that kind of layout? When saving to RTF, it is possible that through the translation, elements were lost. In that case, Word is probably the only thing that you can use to display it (unless you brand each page with the header/footer).

Hope this helps.
 
I don't know if the RTF specifications support it.
But Word shows the stuff, even when you reload the document.
I'm tying to build a report and i wanted to fill up a rtf document
with the information. For this a header and a footer (changeable by
the user) would by nice. Do you have another idea?

Alex
 
Back
Top