Command PV Create picture

4D View

PV Create picture

version 6.8


PV Create picture (area; left; top; right; bottom; ignoreEmptyCells) Picture

ParameterTypeDescription
areaLongint4D View area
leftLongintColumn number of left cell
topLongintLine number of top cell
rightLongintColumn number of right cell
bottomLongintLine number of bottom cell
ignoreEmptyCellsInteger0 = 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

PV Copy to blob.