Methods

characters() → Array of FontSetting

Gets rich text formatting of this Title.

Returns

Array of FontSetting returns FontSetting array

characters(startIndex, length) → FontSetting

Returns a Characters object that represents a range of characters within the text.

Parameters

Name Type Optional Description

startIndex

Number

 

The index of the start of the character.

length

Number

 

The number of characters.

Returns

FontSetting Characters object.

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.

getCharacters()

Gets rich text formatting of this Title. NOTE: This member is now obsolete. Instead, please use Title.Characters() method. This property will be removed 12 months later since November 2016. Aspose apologizes for any inconvenience you may have experienced.@return {FontSetting[]} returns FontSetting array

getChart()

Gets the chart to which this object belongs.

getDefaultHeight()

Represents height of default position

getDefaultWidth()

Represents width of default position

getDefaultX()

Represents x of default position

getDefaultY()

Represents y of default position

getDirectionType()

Gets and sets the direction of text. The value of the property is ChartTextDirectionType integer constant.

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;

getLinkedSource()

Gets and sets a reference to the worksheet.

getOverLay()

Represents overlay centered title on chart without resizing chart.

getReadingOrder()

Represents text reading order. The value of the property is TextDirectionType integer constant.

getRotationAngle()

Represents text rotation angle. 0: Not rotated.255: Top to Bottom.-90: Downward.90: Upward.

getShadow()

True if the frame has a shadow.

getShapeProperties()

Gets the ShapeProperties object.

getText()

Gets or sets the text of display unit label.

getTextDirection()

Represents text reading order. The value of the property is TextDirectionType integer constant.NOTE: This member is now obsolete. Instead, please use ChartTextFrame.ReadingOrder property. This property will be removed 12 months later since March 2020. Aspose apologizes for any inconvenience you may have experienced.

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.

getTextHorizontalAlignment()

Gets and sets the text horizontal alignment. The value of the property is TextAlignmentType integer constant.

getTextOptions()

Gets and sets the options of the text.

getTextVerticalAlignment()

Gets or sets the text vertical alignment of text. The value of the property is TextAlignmentType integer constant.

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;

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.

isAutoText()

Indicates the text is auto generated.

isAutomaticRotation()

Indicates whether the text of the chart is automatically rotated.

isAutomaticSize()

Indicates whether the chart frame is automatic sized.

isDefaultPosBeSet()

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

isDeleted()

Indicates whether this data labels is deleted.

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.

isResizeShapeToFitText()

Gets or sets whether a shape should be auto-fit to fully contain the text described within it. Auto-fitting is when text within a shape is scaled in order to contain all the text inside.

isTextWrapped()

Gets or sets a value indicating whether the text is wrapped.

isVisible()

Represents whether the title is visible.

setAutoScaleFont()

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

setAutoText()

Indicates the text is auto generated.

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.

setDeleted()

Indicates whether this data labels is deleted.

setDirectionType()

Gets and sets the direction of text. The value of the property is ChartTextDirectionType 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;

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.

setLinkedSource()

Gets and sets a reference to the worksheet.

setOverLay()

Represents overlay centered title on chart without resizing chart.

setPositionAuto()

Set position of the frame to automatic

setReadingOrder()

Represents text reading order. The value of the property is TextDirectionType integer constant.

setResizeShapeToFitText()

Gets or sets whether a shape should be auto-fit to fully contain the text described within it. Auto-fitting is when text within a shape is scaled in order to contain all the text inside.

setRotationAngle()

Represents text rotation angle. 0: Not rotated.255: Top to Bottom.-90: Downward.90: Upward.

setShadow()

True if the frame has a shadow.

setText()

Gets or sets the text of display unit label.

setTextDirection()

Represents text reading order. The value of the property is TextDirectionType integer constant.NOTE: This member is now obsolete. Instead, please use ChartTextFrame.ReadingOrder property. This property will be removed 12 months later since March 2020. Aspose apologizes for any inconvenience you may have experienced.

setTextHorizontalAlignment()

Gets and sets the text horizontal alignment. The value of the property is TextAlignmentType integer constant.

setTextVerticalAlignment()

Gets or sets the text vertical alignment of text. The value of the property is TextAlignmentType integer constant.

setTextWrapped()

Gets or sets a value indicating whether the text is wrapped.

setVisible()

Represents whether the title is visible.

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;

setX()

Gets or sets the x coordinate of the upper left corner in units of 1/4000 of the chart area.

setY()

Gets or sets the y coordinate of the upper left corner in units of 1/4000 of the chart area.