'Declaration Public Property View As WorksheetView
public WorksheetView View {get; set;}
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | The value assigned is not defined in the WorksheetView enumeration. |
The view determines the overall display of the worksheet in Microsoft Excel.
Note: The WorksheetView value of PageLayout is only supported in Excel 2007. If a worksheet with that View is viewed in earlier versions of Microsoft Excel, the view will default to Normal view.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2