JVCL Help:TJvCustomRichEdit.DefaultConverter

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Specifies the TJvConversion object that is used to convert between native file format and the internal format of a rich text control when working with files that do not have a registered extension.


Pascal

 propertyDefaultConverter: TJvConversion;


Description

Use DefaultConverter to specify the type of conversion to use when streaming text to or from files that do not have a registered extension. If DefaultConverter is not set, TJvCustomRichEdit uses TJvConversion, which performs no actual conversion. TJvCustomRichEdit encodes text attributes in rich-text format (RTF); thus, unrecognized file extensions lead to no conversion, which works for files that contain plain text or any subset of RTF format.
To support streaming to or from files that encode rich text characteristics in some other format, register a conversion format with the file extension used by those files. Use DefaultConverter only to change the conversion that is used for unrecognized file extensions.


See Also

TJvCustomRichEdit.Lines, TJvCustomRichEdit.RegisterConversionFormat, 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