Low level text creation

<< Click to Display Table of Contents >>

Navigation:  Programming > Create text under program control >

Low level text creation

 

The TParagraph object used by WPTools include several methods to add, insert and delete text and objects.

 

We call the use of this methods "low level text creation", in contrast to the methods which simulate user input, i.e. InputString which inserts a string at the current cursor position.

 

If your program manipulates the text by direct access to the TParagraph objects it is required to call ReformatAll before the change becomes visible.

 

You can also call DelayedReformat - in that case the formatting will take place as usual during the next program idle cycle.