Printer Object
 
Syntax
 
Result = Printer.SetRTF2text(rtfText)
 
Description
Converts the RTF formatted string rtfText into a native string without any markup.
 
NOTE: this function works stand-alone and does NOT require a Printer.Init instruction
 
Parameter
Description
rtfText
A string of RTF formatted text that needs to be converted
Result
When successful, the function returns the native string.
See Also
Example
 
Sub Main
 
Dim rtf$
 
rtf$ = "{\rtf\.......}"   'replace with rtf-contents
 
Msgbox Printer.SetRTF2text(rtf$)
 
End Sub