This documentation is archived and is not being maintained.

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)

public enum XlObjectSize

Member nameDescription
xlFitToPagePrint the chart as large as possible, while retaining the chart's height-to-width ratio as shown on the screen
xlFullPagePrint the chart to fit the page, adjusting the height-to-width ratio as necessary.
xlScreenSizePrint the chart the same size as it appears on the screen.