pasteClipboard (Frame)

Syntax

<Path>.pasteClipboard[(TargetTable:table])

The method pasteClipboard pastes the contents of the clipboard into the Frame designated by <Path>.

Parameter

When you enter the optional parameter TargetTable of data type table, Plant Simulation writes all pasted objects to this table after it executed the method. The table has one column of data type object.

Example

var tbl: table
var   i: integer
pasteClipboard(tbl)
for i := 1 to tbl.yDim 
   print tbl[1,i]  -- outputs all pasted objects
next

Related Topics

Paste Objects

Copy Objects