Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Convert rtf to plain text
#5
this should work

int hwnd=CreateWindowEx(0 "RichEdit20W" 0 0 ...) ;;create rich edit control
str file=... ;;temp file
rtf.setfile(file)
RichEditLoad(hwnd file) ;;load rtf into the control
text.getwintext(hwnd) ;;get text from the control
DestroyWindow hwnd


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)