CT PICTURE TO AREA

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

version 1


CT PICTURE TO AREA (area; picture)

ParameterTypeDescription
areaLongint4D Chart area
picturePicturePicture

Description

The CT PICTURE TO AREA command places into area the document contained in picture.

picture must be a valid 4th Dimension picture expression. The contents of area are replaced with picture. If picture is empty, the command is ignored.

Example

This object method allows the user to copy a graph from a Picture field to a 4D Chart area.

   $Name:=Request ("Enter the name of the chart to load.")
   If (OK=1)
      QUERY ([Charts];[Charts]Label:=$Name)
      If (Records in selection([Charts])>0)
         CT PICTURE TO AREA (Area;[Charts]MyChart)
      End if 
   End if 

See Also

CT Area to picture.


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