4D v13

PV SET PICTURE PROPERTY

Home

 
4D View v13
PV SET PICTURE PROPERTY

PV SET PICTURE PROPERTY 


 

PV SET PICTURE PROPERTY ( area ; picNum ; property ; value ) 
Parameter Type   Description
area  Longint in 4D View area
picNum  Longint in Picture number
property  Longint in Property number
value  Longint in Property value

The PV SET PICTURE PROPERTY command sets the property value of the picture number picNum for the specified property.

The PV Picture properties constants are used to define the property parameter:

Constant Type Value
pv picture background Longint 8
pv picture column Longint 0
pv picture data height Longint 5
pv picture data width Longint 4
pv picture display height Longint 7
pv picture display width Longint 6
pv picture fixed size Longint 10
pv picture hor offset Longint 2
pv picture locked Longint 11
pv picture mapping mode Longint 9
pv picture row Longint 1
pv picture vert offset Longint 3

You can also use the PV Picture mapping mode constant theme to define the value parameter:

Constant Type Value
pv mapping replicated Longint 3
pv mapping scaled centered prop Longint 6
pv mapping scaled to fit Longint 5
pv mapping scaled to fit prop Longint 4
pv mapping trunc non-centered Longint 1
pv mapping truncated centered Longint 2

Example  

Set the display format of picture number 1 to "scaled centered":

 
PROPERTIES 

Product: 4D
Theme: PV Pictures
Number: 15864

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV Get picture property