Get Text into and out of the Editor

[Top]  [Chapter]  [Previous]  [Next]

There are several methods to load and save text.

 

Most important are:

LoadFromFile

LoadFromStream

LoadFromString

LoadFromVar

SaveToFile

SaveToStream

SaveToString

SaveToVar

 

To enter text under program control please use the TextCursor interface.

 

You can move the cursor to a certain position (i.e. TextCursor.PPosition) and enter the text (i.e. TextCursor.InputString).

 

If you need to modify the writing attributes, for example the font, use the TextAttr interface (i.e. TextAttr.SetFontFace)

 

 


[get_text_into_and_outof_editor.htm]    Copyright © 2007 by WPCubed GmbH