Format related procedures in class LegendEntry (PowerPoint VBA)

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

Font

Returns the font of the specified object.

Dim cftFont As ChartFont
Set cftFont = ActiveWindow.RangeFromPoint.Chart.Legend.LegendEntries(1).Font

Format

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

Dim cftFormatted As ChartFormat
Set cftFormatted = ActiveWindow.RangeFromPoint.Chart.Legend.LegendEntries(1).Format

Height

Returns the height, in points, of the object.

Dim dblHeight As Double
dblHeight = ActiveWindow.RangeFromPoint.Chart.Legend.LegendEntries(1).Height

Width

Returns the width, in points, of the object.

Dim dblWidth As Double
dblWidth = ActiveWindow.RangeFromPoint.Chart.Legend.LegendEntries(1).Width