Insert Text

<< Click to Display Table of Contents >>

Navigation:  Programming > Create text under program control > Paragraphs >

Insert Text

Use the method InputString() to insert text at cursor position. The char codes #13 will create a new paragraph, #12 will create a new page.

 

To create a table use TableAdd(). Also see the chapter Set Attributes In Code.

 

To load RTF from a string use SelectionAsString := some_rtf_code.

 

Alternatively LoadFromStream can be used.