4D View v16

PV Create picture

Home

 
4D View v16
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.

Note: The picture created cannot exceed 2048 x 2048 pixels. If this is the case, it is automatically truncated.

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

 
PROPERTIES 

Product: 4D View
Theme: PV Pictures
Number: 15973

 
HISTORY 

Created: 4D View 6.8

 
ARTICLE USAGE

4D View Language ( 4D View v16)