Command PV Pictures, introduction

4D View

PV Pictures, introduction

version 6.8


The commands and functions in this theme allow you to manipulate pictures in your 4D View areas.

Using programming, you can insert or delete pictures. These commands also allow you to get or modify properties of any picture. By modifying picture properties, you can alter its appearance as well as transparency, size and position.

Picture position

A picture pasted by programming is automatically positioned in relation to the upper left-hand corner of the active cell. However, the picture is not inserted in the cell, it is positioned above it. A picture is attached to the document, not the cell. The column and row sizes are not adjusted to the size of the picture.

About picture numbers

All commands in this theme refer to pictures inserted in 4D View areas using the PicNum parameter. This parameter is the index number of the picture in the area: it is attributed by 4D View when the picture is inserted. Each picture inserted receives an index number that is either added by programming or by the user.

This number is unique for the area but is not absolute: if a picture is deleted in an area, all pictures with an index superior to that of the deleted picture will see their number decrease.

To see the number of pictures pasted in a 4D View area at any time, use the PV Get document property command and the pv picture number constant.