![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.ChartFrame
com.aspose.cells.ChartArea
public class ChartArea
Encapsulates the object that represents the chart area in the worksheet.
Method Summary | |
---|---|
byte |
getBackgroundMode()
Gets the display mode of the background. |
Font |
getFont()
Gets a Font object of the chart area. |
int |
getHeight()
Deprecated. replaced by Shape.getHeight() |
double |
getHeightCM()
Deprecated. replaced by Shape.getHeightCM() |
float |
getHeightInch()
Deprecated. replaced by Shape.getHeightInch() |
int |
getLeft()
Deprecated. replaced by Shape.getLeft() |
double |
getLeftCM()
Deprecated. replaced by Shape.getLeftCM() |
float |
getLeftInch()
Deprecated. replaced by Shape.getLeftInch() |
int |
getPlacement()
Deprecated. replaced by Shape.getPlacement() |
int |
getTop()
Deprecated. replaced by Shape.getTop() |
double |
getTopCM()
Deprecated. replaced by Shape.getTopCM() |
float |
getTopInch()
Deprecated. replaced by Shape.getTopInch() |
int |
getUpperLeftColumn()
Deprecated. replaced by Shape.getUpperLeftColumn() |
int |
getUpperLeftRow()
Deprecated. replaced by Shape.getUpperLeftRow() |
int |
getWidth()
Deprecated. replaced by Shape.getWidth() |
double |
getWidthCM()
Deprecated. replaced by Shape.getWidthCM() |
float |
getWidthInch()
Deprecated. replaced by Shape.getWidthInch() |
boolean |
isAutoScaleFont()
Check whether the text in the object changes font size when the object size changes. |
boolean |
isRectangularCornered()
Indicates whether area is rectangular cornered.Default is true. |
boolean |
isShadow()
Indicates whether the chart area has a shadow. |
void |
setAutoScaleFont(boolean isAutoScaleFont)
Set whether the text in the object changes font size when the object size changes. |
void |
setBackgroundMode(byte mode)
Sets the display mode of the background. |
void |
setFont(Font font)
Sets a Font object of the chart area. |
void |
setHeight(int height)
Deprecated. replaced by Shape.setHeight(int) |
void |
setHeightCM(double height)
Deprecated. replaced by Shape.setHeightCM(double) |
void |
setHeightInch(double height)
Deprecated. replaced by Shape.setHeightInch(double) |
void |
setLeft(int left)
Deprecated. if in Chart, use Shape.setLeftInChart(int) instead;
if in common sheet, use Shape.setLeftPositionInPixel(short, short) instead. |
void |
setLeftCM(double left)
Deprecated. replaced by Shape.setLeftCM(double) |
void |
setLeftInch(double left)
Deprecated. replaced by Shape.setLeftInch(double) |
void |
setPlacement(byte placementType)
Deprecated. replaced by Shape.setPlacement(byte) |
void |
setRectangularCornered(boolean isRectangularCornered)
Sets whether area is rectangular cornered.Default is true. |
void |
setShadow(boolean isShadow)
Sets whether the chart area has a shadow. |
void |
setTop(int top)
Deprecated. if in Chart, use Shape.setTopInChart(int) instead;
if in common sheet, use Shape.setTopPositionInPixel(int, short) instead. |
void |
setTopCM(double top)
Deprecated. replaced by Shape.setTopCM(double) |
void |
setTopInch(double top)
Deprecated. replaced by Shape.setTopInch(double) |
void |
setUpperLeftColumn(int column)
Deprecated. replaced by Shape.setLeftPosition(short, short) |
void |
setUpperLeftRow(int row)
Deprecated. replaced by Shape.setTopPosition(int, short) |
void |
setWidth(int width)
Deprecated. replaced by Shape.setWidth(int) |
void |
setWidthCM(double width)
Deprecated. replaced by Shape.setWidthCM(double) |
void |
setWidthInch(double width)
Deprecated. replaced by Shape.setWidthInch(double) |
Methods inherited from class com.aspose.cells.ChartFrame |
---|
equals, getArea, getAreaOrNull, getBorder, getBorderOrNull |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Font getFont()
CellsException
- if chart has bean removed.public void setFont(Font font)
font
- a Font object of the chart area.
CellsException
- if chart has bean removed.public boolean isAutoScaleFont()
public void setAutoScaleFont(boolean isAutoScaleFont)
isAutoScaleFont
- true if the text in the object changes font size when the object size changes.public byte getBackgroundMode()
setBackgroundMode(byte)
public void setBackgroundMode(byte mode)
mode
- the display mode of the background. It could be one of following:
BackgroundMode.AUTOMATIC |
BackgroundMode.TRANSPARENT |
BackgroundMode.OPAQUE |
public void setShadow(boolean isShadow)
isShadow
- whether the chart area has a shadow.
CellsException
- if chart has bean removed.public boolean isShadow()
CellsException
- if chart has bean removed.public boolean isRectangularCornered()
public void setRectangularCornered(boolean isRectangularCornered)
isRectangularCornered
- whether area is rectangular cornered.public int getUpperLeftColumn()
Shape.getUpperLeftColumn()
public void setUpperLeftColumn(int column)
Shape.setLeftPosition(short, short)
column
- the upper left column index .public int getUpperLeftRow()
Shape.getUpperLeftRow()
public void setUpperLeftRow(int row)
Shape.setTopPosition(int, short)
row
- the upper left row index.public int getHeight()
Shape.getHeight()
public void setHeight(int height)
Shape.setHeight(int)
height
- the height, in unit of pixel.public float getHeightInch()
Shape.getHeightInch()
public void setHeightInch(double height)
Shape.setHeightInch(double)
height
- the heigh, in unit of inches.public double getHeightCM()
Shape.getHeightCM()
public void setHeightCM(double height)
Shape.setHeightCM(double)
height
- the height, in unit of centimeters.public int getWidth()
Shape.getWidth()
public void setWidth(int width)
Shape.setWidth(int)
width
- the width, in unit of pixel.public float getWidthInch()
Shape.getWidthInch()
public void setWidthInch(double width)
Shape.setWidthInch(double)
width
- the width, in unit of inches.public double getWidthCM()
Shape.getWidthCM()
public void setWidthCM(double width)
Shape.setWidthCM(double)
width
- the width, in unit of centimeters.public int getLeft()
Shape.getLeft()
public void setLeft(int left)
Shape.setLeftInChart(int)
instead;
if in common sheet, use Shape.setLeftPositionInPixel(short, short)
instead.
left
- the horizontal offset of textbox from its left column, in unit
of pixel.public float getLeftInch()
Shape.getLeftInch()
public void setLeftInch(double left)
Shape.setLeftInch(double)
left
- the horizontal offset of textbox from its left column, in unit
of inches.public double getLeftCM()
Shape.getLeftCM()
public void setLeftCM(double left)
Shape.setLeftCM(double)
left
- the horizontal offset of textbox from its left column, in unit
of centimeters.public int getTop()
Shape.getTop()
public void setTop(int top)
Shape.setTopInChart(int)
instead;
if in common sheet, use Shape.setTopPositionInPixel(int, short)
instead.
top
- the vertical offset of textbox from its top row, in unit of
pixel.public float getTopInch()
Shape.getTopInch()
public void setTopInch(double top)
Shape.setTopInch(double)
top
- the vertical offset of textbox from its top row, in unit of
inches.public double getTopCM()
Shape.getTopCM()
public void setTopCM(double top)
Shape.setTopCM(double)
top
- the vertical offset of textbox from its top row, in unit of
centimeters.public int getPlacement()
Shape.getPlacement()
setPlacement(byte)
public void setPlacement(byte placementType)
Shape.setPlacement(byte)
placementType
- the way the drawing obejct is attached to the cells below it. It
could be one of the following values: PlacementType.FREE_FLOATING |
PlacementType.MOVE |
PlacementType.MOVE_AND_SIZE |
java.lang.IllegalArgumentException
- if placementType is not member of PlacementType
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |