Share via


Legend.IncludeInLayout Property

Excel Developer Reference

True if a legend will occupy the chart layout space when a chart layout is being determined. The default value is True. Read/write Boolean.

Version Information
 Version Added:  Excel 2007

Syntax

expression.IncludeInLayout

expression   A variable that represents a Legend object.

Remarks

This property does not affect whether a chart is in autolayout mode or not. If the user adds a title using the Above Chart command, the chart will resize smaller, as in Microsoft Office Excel 2003. 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.

See Also