CT SET CHART PICTURE

4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next

version 1


CT SET CHART PICTURE (area; object; partType; partSpecifics; picture)

ParameterTypeDescription
areaLongint4D Chart area
objectLongintObject ID
partTypeIntegerType of object for which to set attributes
partSpecificsLongintSpecific part of object for which to set attributes
picturePicturePicture 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

CT Get chart picture.


4D - Documentation   Français   English   German   4D Chart, Command Theme List   4D Chart, Command Alphabetical List   Back   Previous   Next