| 4D Chart v13CT Area to picture | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D Chart v13
 CT Area to picture 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CT Area to picture ( area ; scope ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint |   | 4D Chart area | |||||
| scope | Longint |   | Scope of the function -2 = Document -1 = All 0 = Selected objects >0 = Object ID | |||||
| Function result | Picture |   | 4th Dimension picture of the objects in area | |||||
CT Area to picture returns a 4D picture of the objects in area.
The objects included in the picture are controlled by the scope parameter.
This example opens a new offscreen area, creates a bar chart from existing arrays, stores the chart in a picture variable, and finally, deletes the offscreen area.
 Area:=CT New offscreen area
 vChart:=CT Chart arrays(Area;2;2;aCategory;aSeries;aValues)
 vPict:=CT Area to picture(Area;vChart)
 CT DELETE OFFSCREEN AREA(Area)
	Product:  4D Chart
	Theme:  CT Area
	Number:  
        14508
        
        
        
	
	Created:  4D Chart 1
CT Get ID
CT PICTURE TO CLIPBOARD
CT Place picture