ChartFrame

ChartFrame class

Encapsulates the object that represents the frame object in a chart.

Methods

NameDescription
getArea()Gets the Area.
getAutoScaleFont()True if the text in the object changes font size when the object size changes. The default value is True.
getBackground()Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.NOTE: This
getBackgroundMode()Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.
getBorder()Gets the Line.
getChart()Gets the chart to which this object belongs.
getDefaultHeight()Represents height of default position
getDefaultHeightRatioToChart()
getDefaultWidth()Represents width of default position
getDefaultWidthRatioToChart()
getDefaultX()Represents x of default position
getDefaultXRatioToChart()
getDefaultY()Represents y of default position
getDefaultYRatioToChart()
getFont()Gets a Font object of the specified ChartFrame object.
getHeight()Gets or sets the height of frame in units of 1/4000 of the chart area. How to convert units of 1/4000 to pixels? Height
getHeightPixel()Represents height
getHeightRatioToChart()
getShadow()True if the frame has a shadow.
getShapeProperties()Gets the ShapeProperties object.
getTextFont()Gets a Font object of the specified ChartFrame object. NOTE: This member is now obsolete. Instead, please use ChartFrame
getTextOptions()Gets and sets the options of the text.
getWidth()Gets or sets the width of frame in units of 1/4000 of the chart area. How to convert units of 1/4000 to pixels? Width In
getWidthPixel()Represents width
getWidthRatioToChart()
getX()Gets or sets the x coordinate of the upper left corner in units of 1/4000 of the chart area. How to convert units of 1/4
getXPixel()
getXRatioToChart()
getY()Gets or sets the y coordinate of the upper left corner in units of 1/4000 of the chart area. How to convert units of 1/4
getYPixel()
getYRatioToChart()
isAutomaticSize()Indicates whether the chart frame is automatic sized.
isDefaultPosBeSet()Indicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set.
isInnerMode()Indicates whether the size of the plot area size includes the tick marks, and the axis labels. False specifies that the
setAutoScaleFont()True if the text in the object changes font size when the object size changes. The default value is True.
setAutomaticSize()Indicates whether the chart frame is automatic sized.
setBackground()Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.NOTE: This
setBackgroundMode()Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.
setHeight()Gets or sets the height of frame in units of 1/4000 of the chart area. How to convert units of 1/4000 to pixels? Height
setHeightPixel()Represents height
setHeightRatioToChart()
setInnerMode()Indicates whether the size of the plot area size includes the tick marks, and the axis labels. False specifies that the
setPositionAuto()Set position of the frame to automatic
setShadow()True if the frame has a shadow.
setWidth()Gets or sets the width of frame in units of 1/4000 of the chart area. How to convert units of 1/4000 to pixels? Width In
setWidthPixel()Represents width
setWidthRatioToChart()
setX()Gets or sets the x coordinate of the upper left corner in units of 1/4000 of the chart area. How to convert units of 1/4
setXPixel()
setXRatioToChart()
setY()Gets or sets the y coordinate of the upper left corner in units of 1/4000 of the chart area. How to convert units of 1/4
setYPixel()
setYRatioToChart()

getArea()

Gets the Area.

getAutoScaleFont()

True if the text in the object changes font size when the object size changes. The default value is True.

getBackground()

Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.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.

getBackgroundMode()

Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.

getBorder()

Gets the Line.

getChart()

Gets the chart to which this object belongs.

getDefaultHeight()

Represents height of default position

getDefaultHeightRatioToChart()

getDefaultWidth()

Represents width of default position

getDefaultWidthRatioToChart()

getDefaultX()

Represents x of default position

getDefaultXRatioToChart()

getDefaultY()

Represents y of default position

getDefaultYRatioToChart()

getFont()

Gets a Font object of the specified ChartFrame object.

getHeight()

Gets or sets the height of frame in units of 1/4000 of the chart area. How to convert units of 1/4000 to pixels? Height In Pixels = Y * Chart.ChartObject.Height / 4000;

getHeightPixel()

Represents height

getHeightRatioToChart()

getShadow()

True if the frame has a shadow.

getShapeProperties()

Gets the ShapeProperties object.

getTextFont()

Gets a Font object of the specified ChartFrame object. 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.

getTextOptions()

Gets and sets the options of the text.

getWidth()

Gets or sets the width of frame in units of 1/4000 of the chart area. How to convert units of 1/4000 to pixels? Width In Pixels = Width * Chart.ChartObject.Height / 4000;

getWidthPixel()

Represents width

getWidthRatioToChart()

getX()

Gets or sets the x coordinate of the upper left corner in units of 1/4000 of the chart area. How to convert units of 1/4000 to pixels? X In Pixels = X * Chart.ChartObject.Width / 4000;

getXPixel()

getXRatioToChart()

getY()

Gets or sets the y coordinate of the upper left corner in units of 1/4000 of the chart area. How to convert units of 1/4000 to pixels? Y In Pixels = Y * Chart.ChartObject.Height / 4000;

getYPixel()

getYRatioToChart()

isAutomaticSize()

Indicates whether the chart frame is automatic sized.

isDefaultPosBeSet()

Indicates whether default position(DefaultX, DefaultY, DefaultWidth and DefaultHeight) are set.

isInnerMode()

Indicates whether the size of the plot area size includes the tick marks, and the axis labels. False specifies that the size shall determine the size of the plot area, the tick marks, and the axis labels. Only for Xlsx file.

setAutoScaleFont()

True if the text in the object changes font size when the object size changes. The default value is True.

setAutomaticSize()

Indicates whether the chart frame is automatic sized.

setBackground()

Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.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.

setBackgroundMode()

Gets and sets the display mode of the background The value of the property is BackgroundMode integer constant.

setHeight()

Gets or sets the height of frame in units of 1/4000 of the chart area. How to convert units of 1/4000 to pixels? Height In Pixels = Y * Chart.ChartObject.Height / 4000;

setHeightPixel()

Represents height

setHeightRatioToChart()

setInnerMode()

Indicates whether the size of the plot area size includes the tick marks, and the axis labels. False specifies that the size shall determine the size of the plot area, the tick marks, and the axis labels. Only for Xlsx file.

setPositionAuto()

Set position of the frame to automatic

setShadow()

True if the frame has a shadow.

setWidth()

Gets or sets the width of frame in units of 1/4000 of the chart area. How to convert units of 1/4000 to pixels? Width In Pixels = Width * Chart.ChartObject.Height / 4000;

setWidthPixel()

Represents width

setWidthRatioToChart()

setX()

Gets or sets the x coordinate of the upper left corner in units of 1/4000 of the chart area. How to convert units of 1/4000 to pixels? X In Pixels = X * Chart.ChartObject.Width / 4000;

setXPixel()

setXRatioToChart()

setY()

Gets or sets the y coordinate of the upper left corner in units of 1/4000 of the chart area. How to convert units of 1/4000 to pixels? Y In Pixels = Y * Chart.ChartObject.Height / 4000;

setYPixel()

setYRatioToChart()