Back to Devexpress

TdxCustomLayoutControl.SmartPaste(string) Method

vcl-dxlayoutcontrol-dot-tdxcustomlayoutcontrol-dot-smartpaste-x28-system-dot-string-x29.md

latest2.1 KB
Original Source

TdxCustomLayoutControl.SmartPaste(string) Method

Inserts the specified string or current clipboard content into all configured layout items using the AI-powered Smart Paste functionality.

Declaration

delphi
procedure SmartPaste(const AInputText: string = '');

Parameters

NameTypeDescription
AInputTextstring

Optional. The source string.

If you omit the AInputText parameter, the procedure uses clipboard content as the source string.

|

Remarks

A Smart Paste command analyzes clipboard content and intelligently assigns correct values (in required formats) to appropriate layout items/embedded editors.

Call the SmartPaste procedure to execute a Smart Paste command for all layout groups that contain configured compatible layout items and editors. The active AI provider service relies on layout item descriptions (in a natural language) to determine appropriate paste targets and required data formats.

To execute a Smart Paste command for an individual layout group, call the group’s SmartPaste procedure.

See Also

AI-powered Extensions for VCL

TcxCustomGridTableView.SmartPaste Procedure

TdxCustomLayoutControl Class

TdxCustomLayoutControl Members

dxLayoutControl Unit