Clipboard

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

DataWindow Web ActiveX DataWindow control

Syntax

PowerBuilder

integer dwcontrol.Clipboard ( string graphcontrol )

Web ActiveX

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

Returns 1 if it succeeds and -1 if an error occurs. If any argument’s value is null, Clipboard returns null.

Examples

Example 1

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