4D View v14

PV Copy to blob

Home

 
4D View v14
PV Copy to blob

PV Copy to blob 


 

PV Copy to blob ( area ) -> Function result 
Parameter Type   Description
area  Longint in 4D View area
Function result  BLOB in Blob containing the selection

The PV Copy to blob command returns the current cell selection of the area as a BLOB.

The selection does not necessarily have to be continuous (range).

Example  

The method below exchanges the content of ranges A1, A2, B1, B2 and A3, A4, B3, B4.

 C_BLOB($Blob`saving BLOB
 
 PV SELECT RANGE(Area;1;1;2;2;pv selection set`Select range A1, A2, B1, B2
 PV SPECIAL CUT(Area;1;1;1) `Cut content and place it on the clipboard
 
 PV SELECT RANGE(Area;1;3;2;4;pv selection set`Select range A3, A4, B3, B4
 $Blob:=PV Copy to blob(Area) `Put selection in a BLOB
 PV SPECIAL PASTE(Area;1;1;1) `Paste content from clipboard
 
 PV GOTO CELL(Area;1;1) `Select cell A1
 PV PASTE FROM BLOB(Area;$Blob;1;1;1;1) `Re-assign what was cleared

 
PROPERTIES 

Product: 4D View
Theme: PV Cell manipulation
Number: 15830

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV Create picture
PV PASTE FROM BLOB

 
ARTICLE USAGE

4D View Language ( 4D View v11.4)
4D View Language ( 4D View v12)
4D View Language ( 4D v13)
4D View Language ( 4D View v14 R2)
4D View Language ( 4D View v14)
4D View Language ( 4D View v14 R3)
4D View Language ( 4D View v14 R4)