Aspose::Cells::Charts::ChartFrame class

ChartFrame class

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

class ChartFrame

Methods

MethodDescription
ChartFrame(ChartFrame_Impl* impl)Constructs from an implementation object.
ChartFrame(const ChartFrame& src)Copy constructor.
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.
GetBackgroundMode()Gets and sets the display mode of the background.
GetBorder()Gets the border.
GetDefaultHeight()Represents height of default position.
GetDefaultWidth()Represents width of default position.
GetDefaultX()Represents x of default position.
GetDefaultY()Represents y of default position.
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.
GetShadow()True if the frame has a shadow.
GetShapeProperties()Gets the ShapeProperties object.
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.
GetX()Gets or sets the x coordinate of the upper left corner in units of 1/4000 of the chart area.
GetY()Gets or sets the y coordinate of the upper left corner in units of 1/4000 of the chart area.
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.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const ChartFrame& src)operator=
SetAutoScaleFont(bool value)True if the text in the object changes font size when the object size changes. The default value is True.
SetBackgroundMode(BackgroundMode value)Gets and sets the display mode of the background.
SetHeight(int32_t value)Gets or sets the height of frame in units of 1/4000 of the chart area.
SetIsAutomaticSize(bool value)Indicates whether the chart frame is automatic sized.
SetIsInnerMode(bool value)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.
SetPositionAuto()Set position of the frame to automatic.
SetShadow(bool value)True if the frame has a shadow.
SetWidth(int32_t value)Gets or sets the width of frame in units of 1/4000 of the chart area.
SetX(int32_t value)Gets or sets the x coordinate of the upper left corner in units of 1/4000 of the chart area.
SetY(int32_t value)Gets or sets the y coordinate of the upper left corner in units of 1/4000 of the chart area.
~ChartFrame()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also