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()
    • 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.
      • getBorderLineColor

        public final Color getBorderLineColor()

        Gets border line color.

        Returns:
        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).
      • getFillColor

        public final Color getFillColor()

        Gets fill color.

        Returns:
        fill color.
      • getFillPattern

        public final int getFillPattern()

        Gets fill pattern.

        Returns:
        fill pattern.
      • getHeight

        public final double getHeight()

        Gets displayed height of visual object.

        Returns:
        displayed height of visual object.
      • getHorizontalOffset

        public final double getHorizontalOffset()

        Gets horizontal offset of visual object.

        Returns:
        horizontal offset of visual object.
      • getOleObjectId

        public final int getOleObjectId()

        Gets Id of OleObject object.

        Returns:
        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.
      • 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.
      • getVerticalOffset

        public final double getVerticalOffset()

        Gets vertical offset of visual object.

        Returns:
        vertical offset of visual object.
      • getWidth

        public final double getWidth()

        Gets displayed width of visual object.

        Returns:
        displayed width of visual object.