4D Write v14

WR Get RTF expression

Home

 
4D Write v14
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 Write
Theme: WR Database Objects
Number: 89431

 
HISTORY 

Created: 4D Write 6.7

 
SEE ALSO 

WR INSERT RTF EXPRESSION

 
ARTICLE USAGE

4D Write Language ( 4D Write v11.6)
4D Write Language ( 4D Write v12)
4D Write Language ( 4D Write v14)
4D Write Language ( 4D v13)
4D Write Language ( 4D Write v14 R2)
4D Write Language ( 4D Write v14 R3)
4D Write Language ( 4D Write v14 R4)