Partager via


Legend.IncludeInLayout Property

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property IncludeInLayout As Boolean
    Get
    Set
'Usage
Dim instance As Legend
Dim value As Boolean

value = instance.IncludeInLayout

instance.IncludeInLayout = value
bool IncludeInLayout { get; set; }

Property Value

Type: System.Boolean

Remarks

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.

See Also

Reference

Legend Interface

Legend Members

Microsoft.Office.Interop.PowerPoint Namespace