[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IWorksheetView.ViewType

ViewType Property

ViewType

Gets or sets the view type of the worksheet.

Use this property to switch the worksheet between different display modes, such as NormalView, PageBreakPreview, and PageLayoutView.

Declaration
ViewType ViewType { get; set; }
Property ViewType As ViewType
Examples
IWorksheetView sheetView = worksheet.SheetView;
sheetView.ViewType = ViewType.PageLayoutView;
ViewType viewType = sheetView.ViewType;