public class ChartFrame
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Area |
getArea()
Gets the
Area. |
boolean |
getAutoScaleFont()
True if the text in the object changes font size when the object size changes.
|
int |
getBackground()
Deprecated.
Use ChartFrame.BackgroundMode property instead.
|
int |
getBackgroundMode()
Gets the display mode of the background
|
Line |
getBorder()
Gets the
Line. |
Chart |
getChart()
Gets the chart to which this object belongs.
|
int |
getDefaultHeight()
Represents height of default position
|
int |
getDefaultWidth()
Represents width of default position
|
int |
getDefaultX()
Represents x of default position
|
int |
getDefaultY()
Represents y of default position
|
Font |
getFont()
Gets a
ChartArea.getFont() object of the specified ChartFrame object. |
int |
getHeight()
Gets the height of frame in units of 1/4000 of the chart area.
|
boolean |
getShadow()
True if the frame has a shadow.
|
ShapePropertyCollection |
getShapeProperties()
Gets the
getShapeProperties() object. |
Font |
getTextFont()
Deprecated.
Use ChartFrame.Font property instead.
|
TextOptions |
getTextOptions()
Gets the options of the text.
|
int |
getWidth()
Gets the width of frame in units of 1/4000 of the chart area.
|
int |
getX()
Gets the x coordinate of the upper left corner in units of 1/4000 of the chart area.
|
int |
getY()
Gets the y coordinate of the upper left corner in units of 1/4000 of the chart area.
|
boolean |
isAutomaticSize()
Indicates whether the chart frame is automatic sized.
|
boolean |
isDefaultPosBeSet()
Indicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set.
|
boolean |
isInnerMode()
Indicates whether the size of the plot area size includes the tick marks, and the axis labels.
|
void |
setAutomaticSize(boolean value)
Indicates whether the chart frame is automatic sized.
|
void |
setAutoScaleFont(boolean value)
True if the text in the object changes font size when the object size changes.
|
void |
setBackground(int value)
Deprecated.
Use ChartFrame.BackgroundMode property instead.
|
void |
setBackgroundMode(int value)
Sets the display mode of the background
|
void |
setHeight(int value)
Sets the height of frame in units of 1/4000 of the chart area.
|
void |
setInnerMode(boolean value)
Indicates whether the size of the plot area size includes the tick marks, and the axis labels.
|
void |
setPositionAuto()
Set position of the frame to automatic
|
void |
setShadow(boolean value)
True if the frame has a shadow.
|
void |
setWidth(int value)
Sets the width of frame in units of 1/4000 of the chart area.
|
void |
setX(int value)
Sets the x coordinate of the upper left corner in units of 1/4000 of the chart area.
|
void |
setY(int value)
Sets the y coordinate of the upper left corner in units of 1/4000 of the chart area.
|
public boolean isInnerMode()
Remarks
Only for Xlsx file.public void setInnerMode(boolean value)
Remarks
Only for Xlsx file.public Chart getChart()
public Font getTextFont()
ChartArea.getFont() object of the specified ChartFrame object.
Remarks
NOTE: This member is now obsolete. Instead, please use ChartFrame.Font property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.public TextOptions getTextOptions()
public Font getFont()
ChartArea.getFont() object of the specified ChartFrame object.public boolean getAutoScaleFont()
public void setAutoScaleFont(boolean value)
public int getBackgroundMode()
See BackgroundMode.
public void setBackgroundMode(int value)
See BackgroundMode.
public int getBackground()
See BackgroundMode.
Remarks
NOTE: This member is now obsolete. Instead, please use ChartFrame.BackgroundMode property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.public void setBackground(int value)
See BackgroundMode.
Remarks
NOTE: This member is now obsolete. Instead, please use ChartFrame.BackgroundMode property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.public boolean isAutomaticSize()
public void setAutomaticSize(boolean value)
public int getX()
Remarks
How to convert units of 1/4000 to pixels? X In Pixels = X * Chart.ChartObject.Width / 4000;public void setX(int value)
Remarks
How to convert units of 1/4000 to pixels? X In Pixels = X * Chart.ChartObject.Width / 4000;public int getY()
Remarks
How to convert units of 1/4000 to pixels? Y In Pixels = Y * Chart.ChartObject.Height / 4000;public void setY(int value)
Remarks
How to convert units of 1/4000 to pixels? Y In Pixels = Y * Chart.ChartObject.Height / 4000;public int getHeight()
Remarks
How to convert units of 1/4000 to pixels? Height In Pixels = Y * Chart.ChartObject.Height / 4000;public void setHeight(int value)
Remarks
How to convert units of 1/4000 to pixels? Height In Pixels = Y * Chart.ChartObject.Height / 4000;public int getWidth()
Remarks
How to convert units of 1/4000 to pixels? Width In Pixels = Width * Chart.ChartObject.Height / 4000;public void setWidth(int value)
Remarks
How to convert units of 1/4000 to pixels? Width In Pixels = Width * Chart.ChartObject.Height / 4000;public boolean getShadow()
public void setShadow(boolean value)
public ShapePropertyCollection getShapeProperties()
getShapeProperties() object.public boolean isDefaultPosBeSet()
public int getDefaultX()
public int getDefaultY()
public int getDefaultWidth()
public int getDefaultHeight()
public void setPositionAuto()
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2001-2023. All Rights Reserved.