| 4D Chart v13CT PICTURE TO AREA | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D Chart v13
 CT PICTURE TO AREA 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CT PICTURE TO AREA ( area ; picture ) | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint |   | 4D Chart area | |||||
| picture | Picture |   | Picture | |||||
The CT PICTURE TO AREA command places into area the document contained in picture.
picture must be a valid 4D picture expression. The contents of area are replaced with picture. If picture is empty, the command is ignored.
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
	Product:  4D Chart
	Theme:  CT Area
	Number:  
        14506
        
        
        
	
	Created:  4D Chart 1