4D v13

PV Create picture

Home

 
4D View v13
PV Create picture

PV Create picture 


 

PV Create picture ( area ; left ; top ; right ; bottom ; ignoreEmptyCells ) -> Function result 
Parameter Type   Description
area  Longint in 4D View area
left  Longint in Column number of left cell
top  Longint in Line number of top cell
right  Longint in Column number of right cell
bottom  Longint in Line number of bottom cell
ignoreEmptyCells  Integer in 0 = Do not ignore empty cells; 1 = Ignore empty cells
Function result  Picture in Picture of cells in the range

The PV Create picture command returns a picture of the cell range assigned by the left, top, right, and bottom parameters.

If the ignoreEmptyCells parameter is set to 1, the frame assigned by the left, top, right and bottom parameters will be reduced if the coordinates of the last non-empty cell (to the bottom on the right) are less then than the right and bottom coordinates of the specified frame.

Example  

The line below records a view of the content of the cells delimited by B2, E2, B5, and E5 in a picture field.

 [Templates]ReducedView:=PV Create picture(Area;2;2;5;5;0) `Get picture and assign field

 
PROPERTIES 

Product: 4D
Theme: PV Pictures
Number: 15973

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV Copy to blob