public final class MapiNote extends MapiMessageItemBase
Represents outlook Note object ("sticky note")
attachments, namedPropertyMappingStorage, propertyStream, recipients, subStorages
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, getMessageClass, getMileage, getNamedProperties, getNamedPropertyMapping, getPropertyStream, getRecipients, getSensitivity, getSubject, getSubjectPrefix, getSubStorages, initNamedPropertyMappingStorage, removeProperty, setBilling, setBody, setBodyContent, setBodyRtf, setCategories, setCompanies, setMessageClass, setMessageFlags, setMileage, setNamedPropertyMapping, setProperty, setRecipients, setSensitivity, setsIMapiMessageItemMembers, setSubject, updateStorage, updateStorage
createMapiNode, getCodePage, getMyProperties, getProperties, getPropertyBoolean, getPropertyBytes, getPropertyDateTime, getPropertyInt32, getPropertyLong, getPropertyShort, getPropertyString, getPropertyString, isStoreUnicodeOk, setProperty, setProperty, setProperty, setProperty, setProperty, setPropertySet, tryGetPropertyData, tryGetPropertyDateTime, tryGetPropertyInt32, tryGetPropertyLong, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString, tryGetPropertyString
public Date getCreationDate()
Gets or sets the creation date of note
Date
object.public void setCreationDate(Date value)
Gets or sets the creation date of note
value
- a Date
object.public int getColor()
Gets or sets the suggested background color of the Note object
public void setColor(int value)
Gets or sets the suggested background color of the Note object
value
- a int.public int getWidth()
Gets or sets width of the visible message window in pixels
public void setWidth(int value)
Gets or sets width of the visible message window in pixels
value
- a int.public int getHeight()
Gets or sets height of the visible message window in pixels
public void setHeight(int value)
Gets or sets height of the visible message window in pixels
value
- a int.public 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 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
value
- a int.public 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 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
value
- a int.public void save(OutputStream stream, int saveFormat)
Saves this MapiNote
to the given stream using specified format.
stream
- a OutputStream
object.saveFormat
- a int.Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.