Text Property

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

Get/Set text as unicode string

Declaration

string Text;

When Reading:

Retrieves the text in the editor as unicode string. Table cells will be delimited with TAB caracters, each paragraph and row will be closed with \r\n.

Use SaveToString to retrieve the text as RTF, ANSI, HTML or WPT string.

 

When Writing:

Load the text from a unicode string. Use LoadFromString to load the text as RTF, ANSI, HTML or WPT string. LoadFromString(string,true,"AUTO") will detect the format automatically.

 

This property works differently to Text and Text2 which always save formatting information and is able to load formatted text.


[idh_iwpmemo_text.htm]    Copyright © 2007 by WPCubed GmbH