Table of Contents

Class ExcelWorkbookView

Namespace
OfficeOpenXml
Assembly
EPPlus.dll

Access to workbook view properties

public class ExcelWorkbookView : XmlHelper
Inheritance
ExcelWorkbookView
Inherited Members

Properties

ActiveTab

The active worksheet in the workbook. Zero based.

public int ActiveTab { get; set; }

Property Value

int

Height

Height of the workbook window. In twips.

public int Height { get; }

Property Value

int

Left

Position of the upper left corner of the workbook window. In twips.

public int Left { get; }

Property Value

int

Minimized

If true the the workbook window is minimized.

public bool Minimized { get; set; }

Property Value

bool

ShowHorizontalScrollBar

Show the horizontal scrollbar

public bool ShowHorizontalScrollBar { get; set; }

Property Value

bool

ShowSheetTabs

Show or hide the sheet tabs

public bool ShowSheetTabs { get; set; }

Property Value

bool

ShowVerticalScrollBar

Show the vertical scrollbar

public bool ShowVerticalScrollBar { get; set; }

Property Value

bool

Top

Position of the upper left corner of the workbook window. In twips.

public int Top { get; }

Property Value

int

Width

Width of the workbook window. In twips.

public int Width { get; }

Property Value

int

Methods

SetWindowSize(int, int, int, int)

Set the window position in twips

public void SetWindowSize(int left, int top, int width, int height)

Parameters

left int

Left coordinat

top int

Top coordinat

width int

Width in twips

height int

Height in twips