|
RDONoteItem object represents an "IPM.StickyNote"
message in one of Outlook's Notes folders. RDONoteItem is derived from the
RDOMail object and as such inherits all the
properties, methods and events implemented by the RDOMail
object and adds properties listed below.
Everywhere
RDOMail object is normally returned (RDOSession.GetMessageFromID, RDOFolder.Items,
etc), RDONoteItem will be returned if the message class is "IPM.StickyNote".
The example below logs to the default
profile and creates a new sticky note in the default Notes folder.
set Session =
CreateObject("Redemption.RDOSession")
Session.Logon
set NotesFolder = Session.GetDefaultFolder(olFolderNotes)
set Note = NotesFolder.Items.Add
Note.Subject = "Test note"
Note.Body = "Test Redemption note"
Note.Color = olPink
Note.Left = 100
Note.Top = 100
Note.Width = 400
Note.Height = 300
Note.Save |
Properties
|
In addition to all the
properties and methods specific to RDONoteItem, it also implements
all properties, methods and events of the RDOMail
object, from which it is derived. |
|
Properties |
|
Color |
Returns or sets a Long
indicating the color of the note.
Can be one of the following
OlNoteColor constants: olBlue, olGreen, olPink, olWhite, or olYellow.
Read/write.
|
see example above |
Height |
Returns or sets a Long
specifying the height (in pixels) of the explorer, inspector, or note
window. Read/write.
|
|
Left |
Returns or sets a Long
specifying the position (in pixels) of the left vertical edge of an
explorer, inspector, or note window from the edge of the screen.
Read/write.
|
|
Top |
Returns or sets a Long
indicating the position (in pixels) of the top horizontal edge of an
explorer, inspector, or note window from the edge of the screen.
Read/write.
|
|
Width |
Returns or sets a Long
indicating the width (in pixels) of the specified object. Read/write. |
|
|
|