version 1
CT SET CHART PICTURE (area; object; partType; partSpecifics; picture)
Parameter | Type | Description | |
area | Longint | 4D Chart area | |
object | Longint | Object ID | |
partType | Integer | Type of object for which to set attributes | |
partSpecifics | Longint | Specific part of object for which to set attributes | |
picture | Picture | Picture to paste in series in Picture chart |
Description
CT SET CHART PICTURE pastes picture into the specified series.
object must be a picture chart.
partType must be equal to 8, which is a series in a chart.
partSpecifics must be equal to the number of the series multiplied by 100.
Example
This example copies a picture from the Clipboard to the first series in the selected graph, if the graph is a picture graph.
$ChartID:=CT Get ID (Area;0;1) If (CT Get chart type (Area;$ChartID)=3) $Pict:=CT Clipboard to picture CT SET CHART PICTURE (Area;$ChartID;8;100;$Pict) End if
See Also