4D v13

PV Get picture

Home

 
4D View v13
PV Get picture

PV Get picture 


 

PV Get picture ( area ; picNum ) -> Function result 
Parameter Type   Description
area  Longint in 4D View area
picNum  Longint in Picture number
Function result  Picture in Picture

The PV Get picture command returns the picture number picNum in area.

Example  

Recopy picture number 1 into the current cell.

 C_LONGINT($PicRef`Added picture reference
 C_PICTURE($Picture`Picture to recopy
 
 $Picture:=PV Get picture(Area;1) `Picture number 1
 PV REMOVE PICTURE(Area;1)
 $PicRef:=PV Add picture(Area;$Picture`Recopy in the current cell

If the picture is empty or if the picture number is invalid, an error is returned in the area.

 
PROPERTIES 

Product: 4D
Theme: PV Pictures
Number: 15865

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV Add picture