Class VisualObjectPlacement
- java.lang.Object
-
- com.aspose.tasks.VisualObjectPlacement
-
-
Constructor Summary
Constructors Constructor Description VisualObjectPlacement()
Initializes a new instance of theVisualObjectPlacement
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAttachmentPoint()
Gets alignment of visual object relative to a task when 'Attach to task' options is selected.Color
getBorderLineColor()
Gets border line color.byte
getBorderLineThickness()
Gets border line thickness (allowed values are 0 - 5).Color
getFillColor()
Gets fill color.int
getFillPattern()
Gets fill pattern.double
getHeight()
Gets displayed height of visual object.double
getHorizontalOffset()
Gets horizontal offset of visual object.int
getOleObjectId()
Gets Id ofOleObject
object.int
getTaskId()
Gets Id of task if 'Attach to task' options is selected, -1 otherwise.Date
getTimescaleDate()
Gets date placement of visual object when 'Attach to timescale' options is selected.double
getVerticalOffset()
Gets vertical offset of visual object.double
getWidth()
Gets displayed width of visual object.void
setAttachmentPoint(int value)
Sets alignment of visual object relative to a task when 'Attach to task' options is selected.void
setBorderLineColor(Color value)
Sets border line color.void
setBorderLineThickness(byte value)
Sets border line thickness (allowed values are 0 - 5).void
setFillColor(Color value)
Sets fill color.void
setFillPattern(int value)
Sets fill pattern.void
setHeight(double value)
Sets displayed height of visual object.void
setHorizontalOffset(double value)
Sets horizontal offset of visual object.void
setOleObjectId(int value)
Sets Id ofOleObject
object.void
setTaskId(int value)
Sets Id of task if 'Attach to task' options is selected, -1 otherwise.void
setTimescaleDate(Date value)
Sets date placement of visual object when 'Attach to timescale' options is selected.void
setVerticalOffset(double value)
Sets vertical offset of visual object.void
setWidth(double value)
Sets displayed width of visual object.
-
-
-
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 ofOleObject
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.
-
-