WP Picture range was named WP Create picture range in previous versions of 4D Write Pro. It has been renamed for clarity.
The WP Picture range command returns a specific range object that addresses only the pictures contained in the targetObj you passed as parameter. The image range object returned can be used by WP GET ATTRIBUTES and WP SET ATTRIBUTES to handle picture attributes.
In targetObj, you can pass:
- a range, or
- an element (table / row / paragraph / header / footer / body / section / subsection)
You want to change the border color of pictures only:
$oPicts:=WP Picture range($oSelection)
WP SET ATTRIBUTES($oPicts;wk border color;"blue")