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