Back to Devexpress

TdxInsertOptions Type

vcl-dxrichedit-dot-options-45a0eae0.md

latest1.2 KB
Original Source

TdxInsertOptions Type

Enumerates sources of the text formatting applied to the pasted document fragment.

Declaration

delphi
TdxInsertOptions = dxRichEdit.NativeApi.TdxRichEditInsertOptions;

Referenced Class

Type
TdxRichEditInsertOptions

Remarks

Options include:

ValueDescription
KeepSourceFormattingA pasted document fragment retains its original formatting.
MatchDestinationFormattingA Rich Edit control changes the pasted text’s formatting to match the formatting at the destination point (that is, the text selection or caret position).

Note

TdxInsertOptions 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 TdxInsertOptions.KeepSourceFormatting (in Delphi) or TdxInsertOptions::KeepSourceFormatting (in C++Builder) to refer to the KeepSourceFormatting value in code.

See Also

dxRichEdit.Options Unit