RichTextBox and C#

  • Thread starter Alexander Stuckenholz
  • 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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 
A

Alexander Stuckenholz

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top