public final class MapiNote extends MapiMessageItemBase
Represents outlook Note object ("sticky note")
attachments, namedPropertyMappingStorage, recipients
Constructor and Description |
---|
MapiNote()
Initializes a new instance of the
MapiNote class. |
MapiNote(String subject,
String body)
Initializes a new instance of the
MapiNote class. |
Modifier and Type | Method and Description |
---|---|
int |
getColor()
Gets or sets the suggested background color of the Note object
|
Date |
getCreationDate()
Gets or sets the creation date of note
|
int |
getHeight()
Gets or sets height of the visible message window in pixels
|
int |
getWidth()
Gets or sets width of the visible message window in pixels
|
int |
getXPosition()
Gets or sets the distance, in pixels,
from the left edge of the screen
that a user interface displays a Note object
|
int |
getYPosition()
Gets or sets the distance, in pixels,
from the top edge of the screen
that a user interface displays a Note object
|
void |
save(OutputStream stream,
int saveFormat)
Saves this
MapiNote to the given stream using specified format. |
void |
save(String filePath,
int saveFormat)
Saves this
MapiNote into file using specified format. |
void |
setColor(int value)
Gets or sets the suggested background color of the Note object
|
void |
setCreationDate(Date value)
Gets or sets the creation date of note
|
void |
setHeight(int value)
Gets or sets height of the visible message window in pixels
|
void |
setWidth(int value)
Gets or sets width of the visible message window in pixels
|
void |
setXPosition(int value)
Gets or sets the distance, in pixels,
from the left edge of the screen
that a user interface displays a Note object
|
void |
setYPosition(int value)
Gets or sets the distance, in pixels,
from the top edge of the screen
that a user interface displays a Note object
|
checkIsDisposed, dispose, getAttachments, getBilling, getBody, getBodyHtml, getBodyRtf, getBodyType, getCategories, getCompanies, getItemId, getMessageClass, getMileage, getNamedProperties, getNamedPropertyMapping, getProperty, getPropertyStream, getRecipients, getSensitivity, getSubject, getSubjectPrefix, getSubStorages, initNamedPropertyMappingStorage, removeProperty, setBilling, setBody, setBodyContent, setBodyRtf, setCategories, setCompanies, setMessageClass, setMessageFlags, setMileage, setNamedPropertyMapping, setProperty, setRecipients, setSensitivity, setsIMapiMessageItemMembers, setSubject
createMapiNode, getCodePage, getProperties, getPropertyBoolean, getPropertyBytes, getPropertyDateTime, getPropertyInt32, getPropertyLong, getPropertyShort, getPropertyString, getPropertyString, isStoreUnicodeOk, setProperty, tryGetPropertyData, tryGetPropertyDateTime, tryGetPropertyInt32, tryGetPropertyLong, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString
public MapiNote()
Initializes a new instance of the MapiNote
class.
public final Date getCreationDate()
Gets or sets the creation date of note
public final void setCreationDate(Date value)
Gets or sets the creation date of note
public final int getColor()
Gets or sets the suggested background color of the Note object
public final void setColor(int value)
Gets or sets the suggested background color of the Note object
public final int getWidth()
Gets or sets width of the visible message window in pixels
public final void setWidth(int value)
Gets or sets width of the visible message window in pixels
public final int getHeight()
Gets or sets height of the visible message window in pixels
public final void setHeight(int value)
Gets or sets height of the visible message window in pixels
public final int getXPosition()
Gets or sets the distance, in pixels, from the left edge of the screen that a user interface displays a Note object
public final void setXPosition(int value)
Gets or sets the distance, in pixels, from the left edge of the screen that a user interface displays a Note object
public final int getYPosition()
Gets or sets the distance, in pixels, from the top edge of the screen that a user interface displays a Note object
public final void setYPosition(int value)
Gets or sets the distance, in pixels, from the top edge of the screen that a user interface displays a Note object
public final void save(OutputStream stream, int saveFormat)
Saves this MapiNote
to the given stream using specified format.