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 final Date getCreationDate()

        Gets or sets the creation date of note

      • setCreationDate

        public final void setCreationDate(Date value)

        Gets or sets the creation date of note

      • getColor

        public final int getColor()

        Gets or sets the suggested background color of the Note object

      • setColor

        public final void setColor(int value)

        Gets or sets the suggested background color of the Note object

      • getWidth

        public final int getWidth()

        Gets or sets width of the visible message window in pixels

      • setWidth

        public final void setWidth(int value)

        Gets or sets width of the visible message window in pixels

      • getHeight

        public final int getHeight()

        Gets or sets height of the visible message window in pixels

      • setHeight

        public final void setHeight(int value)

        Gets or sets height of the visible message window in pixels

      • getXPosition

        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

      • setXPosition

        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

      • getYPosition

        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

      • setYPosition

        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

      • save

        public final void save(OutputStream stream,
                int saveFormat)

        Saves this MapiNote to the given stream using specified format.

      • save

        public final void save(String filePath,
                int saveFormat)

        Saves this MapiNote into file using specified format.

Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.