Edit

Share via


Legend.IncludeInLayout Property

Definition

Set to 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.

public:
 property bool IncludeInLayout { bool get(); void set(bool value); };
public bool IncludeInLayout { get; set; }
member this.IncludeInLayout : bool with get, set
Public Property IncludeInLayout As Boolean

Property Value

Boolean

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 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.

Applies to