trichview.support
Re: Just discovered you exist! Questions b4 I buy |
Author |
Message |
Sergey Tkachenko |
Posted: 08/18/2004 0:19:51 There are methods for saving text to file and stream. There is no PlainText property, but you can convert document to plain text and disallow entering anything but text. And for TDBRichViewEdit, there is FieldFormat property defining format (native format / RTF / plain text) in which document will be saved in the field (loading from field autodetects format) > Just so I am clear ... say I have an html or rtf doc loaded into RichView. > What I want to do is something like, set rv.PlainText := true; > rv.SaveTextToFile/Stream; //This will only save ascii text - no images, > formatting or html/rtf tags - just the plain text. Is that what you mean by > ... > > Yes, you can read/write plain text files, in ANSI or Unicode encoding > > "Sergey Tkachenko" <[email protected]> wrote in message > news:[email protected]... > > > I also need to export the PlainText from the richedit. Can I do that > too? > > > > Yes, you can read/write plain text files, in ANSI or Unicode encoding > > > > > > |
Powered by ABC Amber Outlook Express Converter