4D v13

WR Get selected picture

Home

 
4D Write v13
WR Get selected picture

WR Get selected picture 


 

WR Get selected picture ( area ; status ) -> Function result 
Parameter Type   Description
area  Longint in 4D Write area
status  Integer in Picture status
Function result  Picture in Selected picture

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.

 
PROPERTIES 

Product: 4D
Theme: WR Picture Control
Number: 89470

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Write 6.5