Provides access to a set of display and print settings for a worksheet.
The Worksheet.ActiveView property provides access to the WorksheetView object. Use it’s members to specify the visibility of gridlines (WorksheetView.ShowGridlines), show or hide row and column headings (WorksheetView.ShowHeadings), zoom a worksheet view (WorksheetView.Zoom), select a worksheet tab color (WorksheetView.TabColor) and view type (WorksheetView.ViewType), and change print settings (WorksheetView.Orientation, WorksheetView.Margins and WorksheetView.PaperKind). To access more print-specific options, use the WorksheetPrintOptions object returned by Worksheet.PrintOptions. See the How to: Specify Print Settings example for details.