LOTUSSCRIPT/COM/OLE CLASSES


Examples: Text property
1. This script uses the Text property to get the contents of the Categories item, which is a text list. Suppose Categories contains three values: "pine tree," "maple tree," and "spruce tree." The Text property returns the string "pine tree;spruce tree;maple tree" and places it in the contents variable.
2. This script uses the Text property to get the contents of the Amount item, which is of type Number. Suppose the Amount item contains 35.2. The Text property returns the string "35.2" and places it in the contents variable.
3. This function takes any NotesDocument and uses the Text property to create a plain-text rendering of it. For each item on the document whose name does not contain "$", the function places the name and text of the item into the Body item of a new document. The new document is returned to the calling routine. Note that plainItem is declared as a NotesRichTextItem only so that the script can use the AddNewLine method to insert new lines to separate each item.
See Also