Command WR Get selected picture

4D Write

WR Get selected picture

version 6.5


WR Get selected picture (area; status) Picture

ParameterTypeDescription
areaLongint4D Write area
statusIntegerPicture status

Function result Picture Selected 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.