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

Dim xlObjectSize1 As XlObjectSize = XlObjectSize.xlFitToPage

public enum class XlObjectSize
public enum XlObjectSize
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.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms