![]() |
||
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.ChartArea
public class ChartArea
Encapsulates the object that represents the chart area in the worksheet.
Method Summary | |
---|---|
Area |
getArea()
Gets the Area. |
Line |
getBorder()
Gets the border Line. |
Font |
getFont()
Gets a Font object of the chart area. |
int |
getHeight()
Gets the height, in unit of pixel. |
double |
getHeightCM()
Gets the height, in unit of centimeters. |
float |
getHeightInch()
Gets the height, in unit of inches. |
int |
getLeft()
Gets the horizontal offset of textbox from its left column, in unit of pixel. |
double |
getLeftCM()
Gets the horizontal offset of textbox from its left column, in unit of centimeters. |
float |
getLeftInch()
Gets the horizontal offset of textbox from its left column, in unit of inches. |
int |
getPlacement()
Gets the way the drawing obejct is attached to the cells below it. |
int |
getTop()
Gets the vertical offset of textbox from its top row, in unit of pixel. |
double |
getTopCM()
Gets the vertical offset of textbox from its top row, in unit of centimeters. |
float |
getTopInch()
Gets the vertical offset of textbox from its top row, in unit of inches. |
int |
getUpperLeftColumn()
Gets the upper left column index. |
int |
getUpperLeftRow()
Gets the upper left row index. |
int |
getWidth()
Gets the widthx, in unit of pixel. |
double |
getWidthCM()
Gets the width, in unit of centimeters. |
float |
getWidthInch()
Gets the width, in unit of inches. |
boolean |
isRectangularCornered()
Indicates whether area is rectangular cornered.Default is true. |
boolean |
isShadow()
Indicates whether the chart area has a shadow. |
void |
setFont(Font font)
Sets a Font object of the chart area. |
void |
setHeight(int height)
Sets the height, in unit of pixel. |
void |
setHeightCM(double height)
Sets the height, in unit of centimeters. |
void |
setHeightInch(double height)
Sets the height, in unit of inches. |
void |
setLeft(int left)
Sets the horizontal offset of textbox from its left column, in unit of pixel. |
void |
setLeftCM(double left)
Sets the horizontal offset of textbox from its left column, in unit of centimeters. |
void |
setLeftInch(double left)
Sets the horizontal offset of textbox from its left column, in unit of inches. |
void |
setPlacement(byte placementType)
Sets the way the drawing obejct is attached to the cells below it. |
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)
Sets the vertical offset of textbox from its top row, in unit of pixel. |
void |
setTopCM(double top)
Sets the vertical offset of textbox from its top row, in unit of centimeters. |
void |
setTopInch(double top)
Sets the vertical offset of textbox from its top row, in unit of inches. |
void |
setUpperLeftColumn(int column)
Sets the upper left column index. |
void |
setUpperLeftRow(int row)
Sets the upper left row index. |
void |
setWidth(int width)
Sets the width, in unit of pixel. |
void |
setWidthCM(double width)
Sets the width, in unit of centimeters. |
void |
setWidthInch(double width)
Sets the width, in unit of inches. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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 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 int getUpperLeftColumn()
public void setUpperLeftColumn(int column)
column
- the upper left column index .public int getUpperLeftRow()
public void setUpperLeftRow(int row)
row
- the upper left row index.public int getHeight()
public void setHeight(int height)
height
- the height, in unit of pixel.public float getHeightInch()
public void setHeightInch(double height)
height
- the heigh, in unit of inches.public double getHeightCM()
public void setHeightCM(double height)
height
- the height, in unit of centimeters.public int getWidth()
public void setWidth(int width)
width
- the width, in unit of pixel.public float getWidthInch()
public void setWidthInch(double width)
width
- the width, in unit of inches.public double getWidthCM()
public void setWidthCM(double width)
width
- the width, in unit of centimeters.public int getLeft()
public void setLeft(int left)
left
- the horizontal offset of textbox from its left column, in unit
of pixel.public float getLeftInch()
public void setLeftInch(double left)
left
- the horizontal offset of textbox from its left column, in unit
of inches.public double getLeftCM()
public void setLeftCM(double left)
left
- the horizontal offset of textbox from its left column, in unit
of centimeters.public int getTop()
public void setTop(int top)
top
- the vertical offset of textbox from its top row, in unit of
pixel.public float getTopInch()
public void setTopInch(double top)
top
- the vertical offset of textbox from its top row, in unit of
inches.public double getTopCM()
public void setTopCM(double top)
top
- the vertical offset of textbox from its top row, in unit of
centimeters.public int getPlacement()
setPlacement(byte)
public void setPlacement(byte placementType)
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 PlacementTypepublic boolean isRectangularCornered()
public void setRectangularCornered(boolean isRectangularCornered)
isRectangularCornered
- whether area is rectangular cornered.public Line getBorder()
CellsException
- if chart has bean removed.public Area getArea()
CellsException
- if chart has bean removed.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |