Share via


_Chart.SizeWithWindow Property

True if Microsoft Excel resizes the chart to match the size of the chart sheet window. False if the chart size isn't attached to the window size. Applies only to chart sheets (doesn't apply to embedded charts).

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

Syntax

'Declaration
Property SizeWithWindow As Boolean
    Get
    Set
'Usage
Dim instance As _Chart
Dim value As Boolean

value = instance.SizeWithWindow

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

Property Value

Type: System.Boolean

See Also

Reference

_Chart Interface

_Chart Members

Microsoft.Office.Interop.Excel Namespace