Class VisualObjectPlacement
- java.lang.Object
-
- com.aspose.tasks.VisualObjectPlacement
-
-
Constructor Summary
Constructors Constructor Description VisualObjectPlacement()Initializes a new instance of theVisualObjectPlacementclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAttachmentPoint()Gets alignment of visual object relative to a task when 'Attach to task' options is selected.ColorgetBorderLineColor()Gets border line color.bytegetBorderLineThickness()Gets border line thickness (allowed values are 0 - 5).ColorgetFillColor()Gets fill color.intgetFillPattern()Gets fill pattern.doublegetHeight()Gets displayed height of visual object.doublegetHorizontalOffset()Gets horizontal offset of visual object.intgetOleObjectId()Gets Id ofOleObjectobject.intgetTaskId()Gets Id of task if 'Attach to task' options is selected, -1 otherwise.DategetTimescaleDate()Gets date placement of visual object when 'Attach to timescale' options is selected.doublegetVerticalOffset()Gets vertical offset of visual object.doublegetWidth()Gets displayed width of visual object.voidsetAttachmentPoint(int value)Sets alignment of visual object relative to a task when 'Attach to task' options is selected.voidsetBorderLineColor(Color value)Sets border line color.voidsetBorderLineThickness(byte value)Sets border line thickness (allowed values are 0 - 5).voidsetFillColor(Color value)Sets fill color.voidsetFillPattern(int value)Sets fill pattern.voidsetHeight(double value)Sets displayed height of visual object.voidsetHorizontalOffset(double value)Sets horizontal offset of visual object.voidsetOleObjectId(int value)Sets Id ofOleObjectobject.voidsetTaskId(int value)Sets Id of task if 'Attach to task' options is selected, -1 otherwise.voidsetTimescaleDate(Date value)Sets date placement of visual object when 'Attach to timescale' options is selected.voidsetVerticalOffset(double value)Sets vertical offset of visual object.voidsetWidth(double value)Sets displayed width of visual object.
-
-
-
Constructor Detail
-
VisualObjectPlacement
public VisualObjectPlacement()
Initializes a new instance of the
VisualObjectPlacementclass.
-
-
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
OleObjectobject.- Returns:
- Id of
OleObjectobject.
-
setOleObjectId
public final void setOleObjectId(int value)
Sets Id of
OleObjectobject.- Parameters:
value- Id ofOleObjectobject.
-
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.
-
-