Chart.SizeWithWindow Property
Gets or sets the value that indicates whether Microsoft Office Excel resizes the Chart control to match the size of the chart sheet window
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Syntax
'Declaration
Property SizeWithWindow As Boolean
bool SizeWithWindow { get; set; }
Property Value
Type: System.Boolean
true if Excel resizes the Chart control to match the size of the chart sheet window. false if the chart size is not attached to the window size. Applies only to chart sheets, not embedded charts.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.