G
Guest
Hi!
I am building a text input interface using Windows.Forms. RichTextBox
control. Now, since the units of different parameters are not pixels as far
as my application is concerned, I would like to put additional \userprop tags.
For example, when the character spacing changes, I would like to add the
markup
{\*\userprops {\propname mycharspacing}\proptype5
{\staticval 0.5s}} to the RTF document.
1. In effect, I need to identify the cursor position.
2. Insert additional RTF commands
3. Ensure that newly typed text goes in between the RTF commands.
How do I do this?
Thanks
Venkat
I am building a text input interface using Windows.Forms. RichTextBox
control. Now, since the units of different parameters are not pixels as far
as my application is concerned, I would like to put additional \userprop tags.
For example, when the character spacing changes, I would like to add the
markup
{\*\userprops {\propname mycharspacing}\proptype5
{\staticval 0.5s}} to the RTF document.
1. In effect, I need to identify the cursor position.
2. Insert additional RTF commands
3. Ensure that newly typed text goes in between the RTF commands.
How do I do this?
Thanks
Venkat