com.aspose.tasks

Interfaces

Classes

Exceptions

Class VisualObjectPlacement


  • public final class VisualObjectPlacement
    extends Object

    Represents placement and appearance of OleObject in a view.

    • Constructor Detail

      • VisualObjectPlacement

        public VisualObjectPlacement()

        Initializes a new instance of the VisualObjectPlacement class.

    • Method Detail

      • getAttachmentPoint

        public final int getAttachmentPoint()

        Gets alignment of visual object relative to a task when 'Attach to task' options is selected.

        Returns:
        alignment of visual object relative to a task when 'Attach to task' options is selected.
      • setAttachmentPoint

        public final void setAttachmentPoint​(int value)

        Sets alignment of visual object relative to a task when 'Attach to task' options is selected.

        Parameters:
        value - alignment of visual object relative to a task when 'Attach to task' options is selected.
      • getBorderLineColor

        public final Color getBorderLineColor()

        Gets border line color.

        Returns:
        border line color.
      • setBorderLineColor

        public final void setBorderLineColor​(Color value)

        Sets border line color.

        Parameters:
        value - border line color.
      • getBorderLineThickness

        public final byte getBorderLineThickness()

        Gets border line thickness (allowed values are 0 - 5).

        Returns:
        border line thickness (allowed values are 0 - 5).
      • setBorderLineThickness

        public final void setBorderLineThickness​(byte value)

        Sets border line thickness (allowed values are 0 - 5).

        Parameters:
        value - border line thickness (allowed values are 0 - 5).
      • getFillColor

        public final Color getFillColor()

        Gets fill color.

        Returns:
        fill color.
      • setFillColor

        public final void setFillColor​(Color value)

        Sets fill color.

        Parameters:
        value - fill color.
      • getFillPattern

        public final int getFillPattern()

        Gets fill pattern.

        Returns:
        fill pattern.
      • setFillPattern

        public final void setFillPattern​(int value)

        Sets fill pattern.

        Parameters:
        value - fill pattern.
      • getHeight

        public final double getHeight()

        Gets displayed height of visual object.

        Returns:
        displayed height of visual object.
      • setHeight

        public final void setHeight​(double value)

        Sets displayed height of visual object.

        Parameters:
        value - displayed height of visual object.
      • getHorizontalOffset

        public final double getHorizontalOffset()

        Gets horizontal offset of visual object.

        Returns:
        horizontal offset of visual object.
      • setHorizontalOffset

        public final void setHorizontalOffset​(double value)

        Sets horizontal offset of visual object.

        Parameters:
        value - horizontal offset of visual object.
      • getOleObjectId

        public final int getOleObjectId()

        Gets Id of OleObject object.

        Returns:
        Id of OleObject object.
      • setOleObjectId

        public final void setOleObjectId​(int value)

        Sets Id of OleObject object.

        Parameters:
        value - Id of OleObject object.
      • getTaskId

        public final int getTaskId()

        Gets Id of task if 'Attach to task' options is selected, -1 otherwise.

        Returns:
        Id of task if 'Attach to task' options is selected, -1 otherwise.
      • setTaskId

        public final void setTaskId​(int value)

        Sets Id of task if 'Attach to task' options is selected, -1 otherwise.

        Parameters:
        value - Id of task if 'Attach to task' options is selected, -1 otherwise.
      • getTimescaleDate

        public final Date getTimescaleDate()

        Gets date placement of visual object when 'Attach to timescale' options is selected.

        Returns:
        date placement of visual object when 'Attach to timescale' options is selected.
      • setTimescaleDate

        public final void setTimescaleDate​(Date value)

        Sets date placement of visual object when 'Attach to timescale' options is selected.

        Parameters:
        value - date placement of visual object when 'Attach to timescale' options is selected.
      • getVerticalOffset

        public final double getVerticalOffset()

        Gets vertical offset of visual object.

        Returns:
        vertical offset of visual object.
      • setVerticalOffset

        public final void setVerticalOffset​(double value)

        Sets vertical offset of visual object.

        Parameters:
        value - vertical offset of visual object.
      • getWidth

        public final double getWidth()

        Gets displayed width of visual object.

        Returns:
        displayed width of visual object.
      • setWidth

        public final void setWidth​(double value)

        Sets displayed width of visual object.

        Parameters:
        value - displayed width of visual object.