4D Write v16

WR Get styled text

Home

 
4D Write v16
WR Get styled text

WR Get styled text 


 

WR Get styled text ( area ) -> Function result 
Parameter Type   Description
area  Longint in 4D Write area
Function result  BLOB in Formatted text

The WR Get styled text command returns the selected text in the 4D Write area referenced by area a BLOB field or variable. The structure of the BLOB returned represents the selected text with both character and paragraph formatting included, although without style sheets.

Text that is returned using the WR Get styled text command can be placed into another 4D Write document using the WR INSERT STYLED TEXT command. The page layout of the 4D Write document into which the styled text is inserted will not be affected by the insertion.

By using the WR Get styled text and the WR INSERT STYLED TEXT commands you can simulate a Copy/Paste operation while using a BLOB as a buffer instead of the clipboard.

Warning: The BLOB returned by WR Get styled text cannot be used with the WR BLOB TO AREA command since it does not include all the elements of a 4D Write area.

Example  

See the example for the WR INSERT STYLED TEXT command.



See also 

WR INSERT STYLED TEXT

 
PROPERTIES 

Product: 4D Write
Theme: WR Text Manipulation
Number: 89455

 
HISTORY 

Created: 4D Write 6.5

 
ARTICLE USAGE

4D Write Language ( 4D Write v16)