Get and set the text "as string"

<< Click to Display Table of Contents >>

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

Get and set the text "as string"

Use the property AsString - you can use SelectionAsString to read only the selected text. You can also assign text - the property SelectionAsString will insert the text at the cursor position.

 

The function AsANSIString will work like property AsString but you can specify the format string, optionally only save the selection. Also see the load & save category.