Hello,
could anyone please suggest a control contained in VC# Express that
supports inserting of images, horizontal rules, bold text, and text in
different sizes AND supports easy printing of its contents? I tried to
use RichTextBox, but inserting images by pasting them into the control
failed (it does not support pasting of bitmaps according to
richTextBox.CanPaste(DataFormats.GetFormat(DataFormats.Bitmap));).
I'd very much prefer it to be such a control that it is not necessary
to generate the content as a file on HDD and open it afterwards.
The WebBrowser would be perfect, because generating HTML is quite
simple. I believe it is possible to change the HTML source of page
currently viewed, but I can't figure out whether it is possible to
insert images without saving them to HDD first (I believe it
isn't...).
Thanks for any suggestions.
Best regards
nvx
Fabio - 04 Aug 2007 13:57 GMT
> could anyone please suggest a control contained in VC# Express that
> supports inserting of images, horizontal rules, bold text, and text in
[quoted text clipped - 11 lines]
> insert images without saving them to HDD first (I believe it
> isn't...).
If you need to print a classic report you can use the MyNeoReport
(www.devbox4.net).
If you need to print a formatted text page (RTF or HTML text) I can't help
you :(
The WebBrowser control has the Print method, but you should manage correctly
the change page.