WR Get RTF expression

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.7


WR Get RTF expression (area) Text

ParameterTypeDescription
areaLongint4D Write area
Function resultTextContent of the RTF expression

Description

The WR Get RTF expression command allows recuperating the text of the RTF expression currently selected within area.

To select RTF expressions contained in a 4D Write document, you should use the WR Count(Area;wr nb RTF expressions) command and then make a loop for WR SELECT(Area;14;$loop).

Example

You want to get RTF expressions contained in your 4D Write document:

   C_LONGINT(Area;$i;$NbRTFExp)
   C_TEXT($MyExp)

   $NbRTFExp:=WR Count(Area;wr nb RTF expressions) 
   For($i;1;$NbRTFExp)
      WR SELECT(Area;14;$i)
      $MyExp:=WR Get HTML expression(Area)
   End for

See Also

WR INSERT RTF EXPRESSION.


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