4D v13.4TRANSFORM PICTURE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
TRANSFORM PICTURE
TRANSFORM PICTURE
The TRANSFORM PICTURE command applies a transformation of the operator type to the picture passed in the picture parameter. Note: This command extends the functionalities offered by conventional picture transformation operators (+/, etc., see the Picture Operators section). These operators remain entirely usable in 4D v11. The source picture is modified directly after execution of the command. Note that except for “Crop” and “Fade to grey scale,” the operations are not destructive and can be reversed by carrying out the opposite operation or via the “Reset” operation. For example, a picture reduced to 1% will regain its original size with no alteration if it is enlarged by a factor of 100 subsequently. Transformations do not modify the original picture type: for example, a vectorial picture will remain vectorial after its transformation. In operator, pass the number of the operation to be carried out and in param, the parameter(s) needed for this operation (the number of parameters depends on the operation). You can use one of the constants of the “Picture Transformation” theme in operator. These operators and their parameters are described in the following table:
Here is an example of cropping a picture (the picture is displayed in the form with the “Truncated (non-centered)” format): TRANSFORM PICTURE($vpGears;Crop;50;50;100;100) |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D v11 SQL SEE ALSO
COMBINE PICTURES |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||