Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RTF to plain text
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01397704
Message ID:
01397706
Views:
67
You can load RTF data into MS RTF control using TextRTF property and extract plain text from Text property.

>Can one convert RTF to plain text programatically?
>
>example:
>
>
>TEXT TO mRTF
>{\rtf1\ansi\ansicpg1252\deff0\deflang3081{\fonttbl{\f0\fnil\fcharset0 Arial;}}
>{\colortbl ;\red0\green64\blue128;}
>\viewkind4\uc1\pard\fs24 This is an \cf1\ul\b apple\cf0\ulnone\b0 .
>\par }
>ENDTEXT
>
>
>
>How can one get the text from the above programatically?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform