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
procedure SmartPaste(const AInputText: string = '');
Parameters
| Name | Type | Description |
|---|---|---|
| AInputText | string | Optional. The source string. If you omit the |
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.