Format related procedures in class AxisTitle (PowerPoint VBA)

This page presents procedures from class AxisTitle related to the theme Format: Format, Height, IncludeInLayout and Width


Returns the line, fill, and effect formatting for the object.

Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveWindow.RangeFromPoint.Chart.Axes(1).AxisTitle.Format


Returns the height, in points, of the object. Read-only

Dim dblHeight As Double
dblHeight = ActiveWindow.RangeFromPoint.Chart.Axes(1).AxisTitle.Height


True if an axis title will occupy the chart layout space when a chart layout is being determined. The default is True.

This property does not affect whether a chart is in autolayout mode or not. If the user adds a title by using the Above Chart command, the chart will resize smaller, as in previous versions of Microsoft Office. If the user then removes the title or selects one of the overlay title options, the chart will resize larger, as if the title were not on the chart.

ActiveWindow.RangeFromPoint.Chart.Axes(1).AxisTitle.IncludeInLayout = True


Returns a Double value that represents the width, in points, of the object.

Dim dblWidth As Double
dblWidth = ActiveWindow.RangeFromPoint.Chart.Axes(1).AxisTitle.Width