com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class MapiNote

  • All Implemented Interfaces:
    IMapiMessageItem, com.aspose.ms.System.IDisposable


    public final class MapiNote
    extends MapiMessageItemBase

    Represents outlook Note object ("sticky note")

    • Constructor Detail

      • MapiNote

        public MapiNote()

        Initializes a new instance of the MapiNote class.

      • MapiNote

        public MapiNote(String subject,
                String body)

        Initializes a new instance of the MapiNote class.

        Parameters:
        subject - The message subject.
        body - The message body.
    • Method Detail

      • getCreationDate

        public Date getCreationDate()

        Gets or sets the creation date of note

        Returns:
        a Date object.
      • setCreationDate

        public void setCreationDate(Date value)

        Gets or sets the creation date of note

        Parameters:
        value - a Date object.
      • getColor

        public int getColor()

        Gets or sets the suggested background color of the Note object

        Returns:
        a int.
      • setColor

        public void setColor(int value)

        Gets or sets the suggested background color of the Note object

        Parameters:
        value - a int.
      • getWidth

        public int getWidth()

        Gets or sets width of the visible message window in pixels

        Returns:
        a int.
      • setWidth

        public void setWidth(int value)

        Gets or sets width of the visible message window in pixels

        Parameters:
        value - a int.
      • getHeight

        public int getHeight()

        Gets or sets height of the visible message window in pixels

        Returns:
        a int.
      • setHeight

        public void setHeight(int value)

        Gets or sets height of the visible message window in pixels

        Parameters:
        value - a int.
      • getXPosition

        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

        Returns:
        a int.
      • setXPosition

        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

        Parameters:
        value - a int.
      • getYPosition

        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

        Returns:
        a int.
      • setYPosition

        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

        Parameters:
        value - a int.
      • save

        public void save(OutputStream stream,
                int saveFormat)

        Saves this MapiNote to the given stream using specified format.

        Parameters:
        stream - a OutputStream object.
        saveFormat - a int.
      • save

        public void save(String filePath,
                int saveFormat)

        Saves this MapiNote into file using specified format.

        Parameters:
        filePath - a String object.
        saveFormat - a int.