LotusScript for Visual Basic Programmers - IBM Redbooks
LotusScript for Visual Basic Programmers - IBM Redbooks
LotusScript for Visual Basic Programmers - IBM Redbooks
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Method Description<br />
CreateRichTextItem Creates a new rich text item in a document, using<br />
a name you specify, and returns the<br />
corresponding NotesRichTextItem object. When<br />
used with OLE automation, this method allows<br />
you to create a new rich text item and<br />
NotesRichTextItem object without using the New<br />
method.<br />
Encrypt Encrypts a document in a database.<br />
GetAttachment Given the name of a file attachment, returns a<br />
NotesEmbeddedObject representing the<br />
attachment.<br />
GetFirstItem Given a name, returns the first item of the<br />
specified name belonging to the document.<br />
GetItemValue Given the name of an item, returns the value of<br />
that item in a document.<br />
GetNextItem Given an item, returns the next item of the same<br />
name belonging to a document.<br />
HasItem Given the name of an item, indicates if that item<br />
exists in the document.<br />
MakeResponses Makes one document a response to another<br />
document. The two documents must be in the<br />
same database.<br />
PutinFolder Adds a document to the specified folder. If the<br />
folder does not exist in the document’s database,<br />
it is created.<br />
Remove Permanently deletes a document from a database.<br />
RemoveFromFolder Removes a document from the specified folder.<br />
RemoveItem Given the name of an item, deletes the item from<br />
a document.<br />
RenderToRTItem Creates a picture of a document and places it into<br />
a rich text item you specify. The picture is created<br />
using both the document and its <strong>for</strong>m; there<strong>for</strong>e,<br />
the <strong>for</strong>m’s input translation and validation<br />
<strong>for</strong>mulas are executed.<br />
ReplaceItemValue Replaces all items of the specified name with one<br />
new item, which is assigned the specified value. If<br />
the document does not contain an item with the<br />
specified name, the method creates a new item<br />
and adds it to the document.<br />
Continued<br />
Chapter 3: <strong>LotusScript</strong> Notes Classes 59