Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate

com.aspose.cells
Class Area

java.lang.Object
  extended by com.aspose.cells.Area

public class Area
extends java.lang.Object

Encapsulates the object that represents a chart area.


Method Summary
 Color getBackgroundColor()
          Gets the background Color of the Area.
 FillFormat getFillFormat()
          Gets a object that contains fill formatting properties for the specified chart or shape.
 Color getForegroundColor()
          Gets the foreground Color.
 boolean isAuto()
          Indicates Microsoft Workbook automatically determines the area pattern.
 boolean isVisible()
          Indicates whether the area is visible in the chart.
 void setAuto(boolean isAuto)
          Sets whether Microsoft Workbook automatically determines the area pattern.
 void setBackgroundColor(Color color)
          Sets the background Color of the Area.
 void setForegroundColor(Color color)
          Sets the foreground Color.
 void setVisible(boolean visible)
          Sets whether the area is visible in the chart.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBackgroundColor

public Color getBackgroundColor()
Gets the background Color of the Area.

Returns:
the background Color of the Area.

setBackgroundColor

public void setBackgroundColor(Color color)
Sets the background Color of the Area.

Parameters:
color - the background Color of the Area.

getForegroundColor

public Color getForegroundColor()
Gets the foreground Color.

Returns:
the foreground Color.

setForegroundColor

public void setForegroundColor(Color color)
Sets the foreground Color.

Parameters:
color - the foreground Color.

setAuto

public void setAuto(boolean isAuto)
Sets whether Microsoft Workbook automatically determines the area pattern.

Parameters:
isAuto - whether Microsoft Workbook automatically determines the area pattern.

isAuto

public boolean isAuto()
Indicates Microsoft Workbook automatically determines the area pattern.

Returns:
whether Microsoft Workbook automatically determines the area pattern.

isVisible

public boolean isVisible()
Indicates whether the area is visible in the chart.

Returns:
whether the area is visible in the chart.

setVisible

public void setVisible(boolean visible)
Sets whether the area is visible in the chart.

Parameters:
visible - whether the area is visible in the chart.

getFillFormat

public FillFormat getFillFormat()
Gets a object that contains fill formatting properties for the specified chart or shape.

Returns:
a object that contains fill formatting properties.