Class ExcelWorkbookView
Access to workbook view properties
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class ExcelWorkbookView : XmlHelper
Properties
ActiveTab
The active worksheet in the workbook. Zero based.
Declaration
public int ActiveTab { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Height
Height of the workbook window. In twips.
Declaration
public int Height { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Left
Position of the upper left corner of the workbook window. In twips.
Declaration
public int Left { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Minimized
If true the the workbook window is minimized.
Declaration
public bool Minimized { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowHorizontalScrollBar
Show the horizontal scrollbar
Declaration
public bool ShowHorizontalScrollBar { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowSheetTabs
Show or hide the sheet tabs
Declaration
public bool ShowSheetTabs { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ShowVerticalScrollBar
Show the vertical scrollbar
Declaration
public bool ShowVerticalScrollBar { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Top
Position of the upper left corner of the workbook window. In twips.
Declaration
public int Top { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Width
Width of the workbook window. In twips.
Declaration
public int Width { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
SetWindowSize(Int32, Int32, Int32, Int32)
Set the window position in twips
Declaration
public void SetWindowSize(int left, int top, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | left | Left coordinat |
System.Int32 | top | Top coordinat |
System.Int32 | width | Width in twips |
System.Int32 | height | Height in twips |