JVCL Help:TJvCustomRichEdit.RegisterConversionFormat
JVCL Help: TJvCustomRichEdit.RegisterConversionFormat Method
Search in JVCL Help
Search in all projectsSummary
Registers an association between a file extension and a TJvConversion object that can convert between the native file format and rich text format (RTF) or plain text.
Pascal
classprocedureRegisterConversionFormat(AConverter: TJvConversion);
Parameters
Parameters | Description |
AConverter: TJvConversion | The converter to register. |
Description
Rich edit controls encode text attributes in RTF format or plain text. To read from or write to files that encode text attributes in some other format, a converter is required. The converter is a descendant of TJvConversion that translates between the native file format and RTF or plain text when the text is streamed in or out. RegisterConversionFormat sets up an association between a file extension and a converter, so that all attempts to stream between a file with that extension and a rich edit control automatically invoke the appropriate converter.
See Also
TJvCustomRichEdit.DefaultConverter, TJvCustomRichEdit.Lines, TJvCustomRichEdit.PlainText, TJvCustomRichEdit.RegisterMSTextConverters
About
Notes
Use the Lines property to stream the text to or from a file.
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page