Printing to a RTF

How to print on an RTF.  I see text edit applications that have the paragraph markers and special characters to show the location of the spaces and tabs, but how do they get that character there ?

If you highlight that text and copy, the special characters don't get copied to the clipboard with your selection and the paragraph markers are not selectable.
It’s like that chr has been printed directly to the control canvas and probably redrawn with every redraw of
sidwelleAsked:
Who is Participating?
 
sidwelleAuthor Commented:
I think I found it, follow this link and create a new class, paste the code as described:
http://www.xtremevbtalk.com/showthread.php?t=315215

Then place this new Transparent RichTextBox over a TextBox and place your paragraph markers in the Textbox and all the text you want the user to have access to in the RTB.
You have to write a little code to keep them synched, but it works.

I still have a little bit of a flicker problem, but that it acceptable for now.
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
0
 
Avinash DesaiSr Software EngineerCommented:
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
sidwelleAuthor Commented:
All of these articles talk about printing, Maybe I shouldn't have used the word 'print'.

I want to be able to insert these special characters (formatting symbols) and not allow the use to select them.

I want to draw characters on the canvas of a RTB that do not act as part of the document.
Special Characters
0
 
Avinash DesaiSr Software EngineerCommented:
0
 
sidwelleAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.