Description
Replaces the contents of the system clipboard with a bitmap image of a graph. You can paste the image into other applications.
Applies to
PowerBuilder DataWindow
DataWindow control
Syntax
PowerBuilder
integer 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  | 
                        
Return value
Returns 1 if it succeeds and -1 if an error occurs. If any argument's value is null, Clipboard returns null.
Examples
This statement copies the graph gr_employees in the DataWindow control dw_emp_data to the clipboard:
dw_emp_data.Clipboard("gr_employees")See also
Clipboard in the the section called “Clipboard” in PowerScript Reference


