WR O RESIZE PICTURE

4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next

version 6.0


WR O RESIZE PICTURE (area; newHeight; newWidth)

ParameterTypeDescription
areaLongint4D Write area
newHeightIntegerNew height of the picture
newWidthIntegerNew width of the picture

Note 6.5: This command was only maintained for compatibility purposes. We recommend using the WR SET PICTURE SIZE command.

Description

The command WR O RESIZE PICTURE modifies the size of a selected picture in the 4D Write area. The selection should consist only of the selected picture. If no picture is selected, then error 1034 is generated.

newHeight is the new height of the picture in points. newWidth is the new width of the picture also in points.

There are 72 dots per inch (dpi) on a typical Macintosh monitor. If your monitor has a resolution of 82 dpi or more, use a case statement to determine the number of dots per inch to use.

If newHeight or newWidth are less than 0, the size of the picture is not modified. If newHeight or newWidth are equal to 0, the picture is removed.

See Also

WR SET PICTURE SIZE.


4D - Documentation   Français   English   German   4D Write, Command Theme List   4D Write, Command Alphabetical List   4D Write, Constant Theme List   Back   Previous   Next