Replaces the contents of the system clipboard with a bitmap image of a graph. You can paste the image into other applications.
PowerBuilder DataWindow DataWindow control
DataWindow Web ActiveX DataWindow control
integer dwcontrol.Clipboard ( string graphcontrol )
number dwcontrol.Clipboard ( string graphcontrol )
Argument |
Description |
---|---|
dwcontrol |
A reference to the DataWindow control containing the graph |
graphcontrol |
A string whose value is the name of the graph in the DataWindow object |
Returns 1 if it succeeds and -1 if an error occurs. If any argument’s value is null, Clipboard returns null.
This statement copies the graph gr_employees in the DataWindow control dw_emp_data to the clipboard:
dw_emp_data.Clipboard("gr_employees")
Clipboard in the PowerScript Reference