TdxRichEditInsertOptions Enum
Enumerates options that can be used to insert a formatted text fragment.
Declaration
TdxRichEditInsertOptions = (
KeepSourceFormatting,
MatchDestinationFormatting
);
Members
| Name |
|---|
KeepSourceFormatting
|
MatchDestinationFormatting
|
Remarks
Options include:
| Value | Description |
|---|---|
| KeepSourceFormatting | An inserted text fragment retains its original formatting. |
| MatchDestinationFormatting | An inserted text fragment uses the formatting applied to text at the destination document position. |
The TdxRichEditInsertOptions type is referenced by:
The IdxRichEditParagraphCollection interface (the Insert method);
The IdxRichEditSubDocument interface (the AppendDocumentContent, InsertDocumentContent, InsertParagraph, AppendRtfText, and InsertRtfText methods);
The TdxInsertOptions type.
Note
TdxRichEditInsertOptions is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxRichEditInsertOptions.MatchDestinationFormatting (in Delphi) or TdxRichEditInsertOptions::MatchDestinationFormatting (in C++Builder) to refer to the MatchDestinationFormatting value in code.