public class ChartTitle extends java.lang.Object implements IChartTitle
Represents chart title properties.
| Modifier and Type | Method and Description |
|---|---|
ITextFrame |
addTextFrameForOverriding(java.lang.String text)
Initialize TextFrameForOverriding with the text in paramener "text".
|
float |
getActualHeight()
Specifies actual height of the chart element.
|
float |
getActualWidth()
Specifies actual width of the chart element.
|
float |
getActualX()
Specifies actual x location (left) of the chart element relative to the left top corner of the chart.
|
float |
getActualY()
Specifies actual top of the chart element relative to the left top corner of the chart.
|
float |
getBottom()
Bottom.
|
IChart |
getChart()
Returns the parent chart.
|
IFormat |
getFormat()
Returns the fill, line, effect styles of a title.
|
float |
getHeight()
Returns or sets the height of a title as a fraction of the height of the chart.
|
boolean |
getOverlay()
Determines whether other chart elements shall be allowed to overlap title.
|
com.aspose.slides.IDOMObject |
getParent_Immediate()
Returns Parent_Immediate object.
|
IPresentation |
getPresentation()
Returns the parent presentation of a FillFormat.
|
float |
getRight()
Right.
|
IBaseSlide |
getSlide()
Returns the parent slide of a FillFormat.
|
IChartTextFormat |
getTextFormat()
Returns text format.
|
ITextFrame |
getTextFrameForOverriding()
Can contain a rich formatted text.
|
float |
getWidth()
Returns or sets the width of a title as a fraction of the width of the chart.
|
float |
getX()
Returns or sets the x coordinate of a title as a fraction of the width of the chart.
|
float |
getY()
Returns or sets the y coordinate of a title as a fraction of the height of the chart.
|
void |
setHeight(float value)
Returns or sets the height of a title as a fraction of the height of the chart.
|
void |
setOverlay(boolean value)
Determines whether other chart elements shall be allowed to overlap title.
|
void |
setWidth(float value)
Returns or sets the width of a title as a fraction of the width of the chart.
|
void |
setX(float value)
Returns or sets the x coordinate of a title as a fraction of the width of the chart.
|
void |
setY(float value)
Returns or sets the y coordinate of a title as a fraction of the height of the chart.
|
public final float getX()
Returns or sets the x coordinate of a title as a fraction of the width of the chart.
Read/write float.
getX in interface ILayoutablepublic final void setX(float value)
Returns or sets the x coordinate of a title as a fraction of the width of the chart.
Read/write float.
setX in interface ILayoutablepublic final float getY()
Returns or sets the y coordinate of a title as a fraction of the height of the chart.
Read/write float.
getY in interface ILayoutablepublic final void setY(float value)
Returns or sets the y coordinate of a title as a fraction of the height of the chart.
Read/write float.
setY in interface ILayoutablepublic final float getWidth()
Returns or sets the width of a title as a fraction of the width of the chart.
Read/write float.
getWidth in interface ILayoutablepublic final void setWidth(float value)
Returns or sets the width of a title as a fraction of the width of the chart.
Read/write float.
setWidth in interface ILayoutablepublic final float getHeight()
Returns or sets the height of a title as a fraction of the height of the chart.
Read/write float.
getHeight in interface ILayoutablepublic final void setHeight(float value)
Returns or sets the height of a title as a fraction of the height of the chart.
Read/write float.
setHeight in interface ILayoutablepublic final float getRight()
Right.
Read-only float.
getRight in interface ILayoutablepublic final float getBottom()
Bottom.
Read-only float.
getBottom in interface ILayoutablepublic final boolean getOverlay()
Determines whether other chart elements shall be allowed to overlap title.
Read/write boolean.
getOverlay in interface IChartTitlepublic final void setOverlay(boolean value)
Determines whether other chart elements shall be allowed to overlap title.
Read/write boolean.
setOverlay in interface IChartTitlepublic final IFormat getFormat()
Returns the fill, line, effect styles of a title.
Read-only IFormat.
getFormat in interface IChartTitlepublic final ITextFrame addTextFrameForOverriding(java.lang.String text)
Initialize TextFrameForOverriding with the text in paramener "text". If TextFrameForOverriding is already initialized then simply changes its text.
addTextFrameForOverriding in interface IOverridableTexttext - Text for a new TextFrameForOverriding.ITextFramepublic final ITextFrame getTextFrameForOverriding()
Can contain a rich formatted text. If this property is not null then this
formatted text value overrides auto-generated text.
Auto-generated text is an implicit property of the data label, the display
unit label of the value axis, the axis title, the chart title, the label of the trendline.
Auto-generated text is formatted with the IFormattedTextContainer.TextFormat property.
Read-only ITextFrame.
getTextFrameForOverriding in interface IOverridableTextpublic final IChartTextFormat getTextFormat()
Returns text format.
Read-only IChartTextFormat.
getTextFormat in interface IFormattedTextContainerpublic final float getActualX()
Specifies actual x location (left) of the chart element relative to the left top corner of the chart. Call method IChart.validateChartLayout() before to get actual values. Read float.
getActualX in interface IActualLayoutpublic final float getActualY()
Specifies actual top of the chart element relative to the left top corner of the chart. Call method IChart.validateChartLayout() before to get actual values. Read float.
getActualY in interface IActualLayoutpublic final float getActualWidth()
Specifies actual width of the chart element. Call method IChart.validateChartLayout() before to get actual values. Read float.
getActualWidth in interface IActualLayoutpublic final float getActualHeight()
Specifies actual height of the chart element. Call method IChart.validateChartLayout() before to get actual values. Read float.
getActualHeight in interface IActualLayoutpublic final com.aspose.slides.IDOMObject getParent_Immediate()
Returns Parent_Immediate object.
Read-only IDOMObject.
public final IChart getChart()
Returns the parent chart.
Read-only IChart.
getChart in interface IChartComponentpublic final IBaseSlide getSlide()
Returns the parent slide of a FillFormat.
Read-only BaseSlide.
getSlide in interface ISlideComponentpublic final IPresentation getPresentation()
Returns the parent presentation of a FillFormat.
Read-only IPresentation.
getPresentation in interface IPresentationComponentCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.