Compartilhar via


PageSetup.ChartSize Property

Returns or sets the way a chart is scaled to fit on a page.

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

Syntax

'Declaration
Property ChartSize As XlObjectSize
    Get
    Set
'Usage
Dim instance As PageSetup
Dim value As XlObjectSize

value = instance.ChartSize

instance.ChartSize = value
XlObjectSize ChartSize { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlObjectSize

Remarks

This property applies only to chart sheets (it cannot be used with embedded charts).

See Also

Reference

PageSetup Interface

PageSetup Members

Microsoft.Office.Interop.Excel Namespace