18.01.2013 Views

LotusScript for Visual Basic Programmers - IBM Redbooks

LotusScript for Visual Basic Programmers - IBM Redbooks

LotusScript for Visual Basic Programmers - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NotesNewsletter<br />

NotesNewsletter is contained by NotesSession and contains<br />

NotesDocument.<br />

To create a new NotesNewsletter object, you use NotesDocumentCollection<br />

containing the documents you want, or the New method of<br />

NotesNewsletter, or the CreateNewsletter method of NotesSession. If you<br />

create a newsletter using New, there are two things you can do with it:<br />

Use the FormatDocument method to create a new document with a<br />

rendering (picture) of one of the documents in the collection.<br />

Use the FormatMsgWithDoclinks method to create a new document<br />

with links to each of the documents in the collection.<br />

Method Description<br />

New Creates a new NotesNewletter object.<br />

FormatDocument Creates a new document in the given database,<br />

containing a rendering (picture) of a specified<br />

document in the newsletter’s collection.<br />

FormatMsgWithDoclinks Creates a newsletter document in the given<br />

database that contains a link to each document in<br />

the newsletter’s collection.<br />

Property Description<br />

DoScore Read-Write. For a newsletter document created<br />

using the FormatMsgWithDoclinks method,<br />

indicates if the newsletter includes each<br />

document’s relevance score.<br />

DoSubject Read-Write. For a newsletter document created<br />

using the FormatMsgWithDoclinks method,<br />

indicates if the newsletter includes a string<br />

describing the subject of each document.<br />

SubjectItemName Read-Write. For a newsletter document created<br />

using the FormatMsgWithDoclinks method,<br />

indicates the name of the item on a newsletter’s<br />

documents which contains the text you want to<br />

use as a subject line.<br />

Chapter 3: <strong>LotusScript</strong> Notes Classes 71

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!