Syntax 2: For bitmaps of graphs
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
Graph objects in windows and user objects, and graphs in
DataWindow controls and DataStore objects
Syntax
|
1 |
name.Clipboard ( { graphobject } ) |
|
Argument |
Description |
|---|---|
|
name |
The name of the graph or the DataWindow control or |
|
graphobject (DataWindow control and DataStore only) |
A string whose value is the name of the graph in |
Return value
Integer.
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_products_data to the
clipboard:
|
1 |
gr_products_data.Clipboard() |
This statement copies the graph gr_employees in the DataWindow
control dw_emp_data to the clipboard:
|
1 |
dw_emp_data.Clipboard("gr_employees") |