Partager via


XlObjectSize Enumeration

Specifies 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
Public Enumeration XlObjectSize
'Usage
Dim instance As XlObjectSize
public enum XlObjectSize

Members

Member name Description
xlFitToPage Print the chart as large as possible, while retaining the chart's height-to-width ratio as shown on the screen
xlFullPage Print the chart to fit the page, adjusting the height-to-width ratio as necessary.
xlScreenSize Print the chart the same size as it appears on the screen.

See Also

Reference

Microsoft.Office.Interop.Excel Namespace