Clipboard method (Graphs in DataWindows)
Description
Replaces the contents
of the system clipboard with a bitmap image of a graph. You can
paste the image into other applications.
Controls
PowerBuilder DataWindow DataWindow
control
DataWindow Web ActiveX DataWindow
control
Syntax
[PowerBuilder]
1 |
integer <span>dwcontrol</span>.<span>Clipboard</span> ( string <span>graphcontrol</span> ) |
[Web ActiveX]
1 |
number <span>dwcontrol</span>.<span>Clipboard</span> ( string <span>graphcontrol</span> ) |
Argument |
Description |
---|---|
dwcontrol |
A reference to the DataWindow control |
graphcontrol |
A string whose value is the name of the |
Return Values
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:
1 |
dw_emp_data.<span>Clipboard</span>("gr_employees") |
See Also
-
Clipboard in the PowerScript
Reference
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest