RAD Studio VCL Reference
|
Registers an association between a file extension and a TConversion object that can convert between the native file format and rich text format (RTF).
class procedure RegisterConversionFormat(const AExtension: string; AConversionClass: TConversionClass);
__fastcall RegisterConversionFormat(const AnsiString AExtension, TConversionClass AConversionClass);
Rich edit controls encode text attributes in RTF format. 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 TConversion that translates between the native file format and RTF 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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|