WR Get selected 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.5


WR Get selected picture (area; status) Picture

ParameterTypeDescription
areaLongint4D Write area
statusIntegerPicture status
Function resultPictureSelected picture

Description

The WR Get selected picture command returns a copy of the picture currently selected in the 4D Write area referenced by area.

The status parameter can return any of the following values:

If status = -1, no picture is selected.

If status = 0, the selected picture is in the text flow.

If status > 0, the selected picture is in the page.

status can help you identify the picture when using WR GET PICTURE IN PAGE INFO, WR SET PICTURE IN PAGE INFO or WR DELETE PICTURE IN PAGE.

Example

See the example for the WR SET PICTURE IN PAGE INFO command.


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