4D v13

WR Get RTF expression

Home

 
4D Write v13
WR Get RTF expression

WR Get RTF expression 


 

WR Get RTF expression ( area ) -> Function result 
Parameter Type   Description
area  Longint in 4D Write area
Function result  Text in Content of the RTF expression

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

 
PROPERTIES 

Product: 4D
Theme: WR Database Objects
Number: 89431

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Write 6.7

 
SEE ALSO 

WR INSERT RTF EXPRESSION