Board index » Visual Studio » printing rich text

printing rich text

Visual Studio233
How in the world can I print a richtextbox rtf without including the

special characters like crlf and the font definition and such? Microsoft

documentation is silent on this.

Thanks so much!



T


-
 

Re:printing rich text

"ng" <t_again@yahoo.com>schrieb:

Quote
How in the world can I print a richtextbox rtf without including the

special characters like crlf and the font definition and such? Microsoft

documentation is silent on this.



The richtextbox' 'Text' property will return the text without formatting.

However, you will have to write the printing code yourself.



--

M S Herfried K. Wagner

M V P <URL:dotnet.mvps.org/>">dotnet.mvps.org/>

V B <URL:classicvb.org/petition/>">classicvb.org/petition/>



-

Re:printing rich text

Thanks, Herfried. But formatting is another gripe I have with .net

printing. It used to be so easy sending columnar data to a printer and

having it all line up so nicely!



T





Herfried K. Wagner [MVP] wrote:



Quote
"ng" <t_again@yahoo.com>schrieb:



>How in the world can I print a richtextbox rtf without including the

>special characters like crlf and the font definition and such?

>Microsoft documentation is silent on this.





The richtextbox' 'Text' property will return the text without

formatting. However, you will have to write the printing code yourself.



-

Re:printing rich text

Hi,



http://msdn.microsoft.com/library/default.asp?url" rel="nofollow" target="_blank">msdn.microsoft.com/library/default.asp=/library/en-us/dnwinforms/html/wnf_RichTextBox.asp



Ken

-----------------

"ng" <t_again@yahoo.com>wrote in message

How in the world can I print a richtextbox rtf without including the

special characters like crlf and the font definition and such? Microsoft

documentation is silent on this.

Thanks so much!



T





-

Re:printing rich text

I don't know how you found this, but I sure am glad you did. Thanks so

much!



T





Ken Tucker [MVP] wrote:



Quote
Hi,



http://msdn.microsoft.com/library/default.asp?url" rel="nofollow" target="_blank">msdn.microsoft.com/library/default.asp=/library/en-us/dnwinforms/html/wnf_RichTextBox.asp



Ken

-----------------

"ng" <t_again@yahoo.com>wrote in message

news:Pxlle.31339$CR5.14604@bignews1.bellsouth.net...

How in the world can I print a richtextbox rtf without including the

special characters like crlf and the font definition and such? Microsoft

documentation is silent on this.

Thanks so much!



T









-