Static
$tStatic
nextGets or sets the pixel bounds of the workbook's MDI child window when CustomView owning these window options is applied.
Note: This property will have no affect on the workbook if maximized is True. However, in this case, the value of this property will still be saved with the workbook.
Note: This setting cannot be saved with a Workbook in the Excel file. It can only be saved with a CustomView. Therefore, there is no corresponding property in WorkbookWindowOptions and calling on the associated CustomView will not apply this property. Only by applying the custom view through the Microsoft Excel user interface will the setting on this property be applied.
The pixel bounds of the workbook's MDI child window when CustomView owning these window options is applied.ArgumentException The left or top of the value assigned is outside the bounds of -32768 and 32767.
ArgumentException The width or height of the value assigned is outside the bounds of 0 and 65535.
Gets or sets the value indicating whether the workbook's MDI child window will be maximized when the CustomView owning these window options is applied.
Note: This setting cannot be saved with a Workbook in the Excel file. It can only be saved with a CustomView. Therefore, there is no corresponding property in WorkbookWindowOptions and calling on the associated CustomView will not apply this property. Only by applying the custom view through the Microsoft Excel user interface will the setting on this property be applied.
The value indicating whether the workbook's MDI child window will be maximized when the CustomView owning these window options is applied.Gets or sets the way the objects and shapes are displayed in the workbook. The way the objects and shapes are displayed in the workbook.
InvalidEnumArgumentException The assigned value is not defined in the objectDisplayStyle enumeration.
Gets or sets the scroll bars shown in the workbook window.
The vertical scroll bar occupies the entire height of the application if it is visible.
The horizontal scroll bar occupies the width of the application not used by the worksheet tab bar, if it is visible. Otherwise, it occupies the entire width of the application.
The scroll bars shown in the workbook window.InvalidEnumArgumentException The assigned value is not defined in the scrollBars enumeration.
Gets or sets the selected worksheet of the workbook.
If this is an instance of CustomViewWindowOptions and the SelectedWorksheet value is null, the workbook's selected worksheet will not be changed when the associated CustomView is applied.
Note: If the selected worksheet does not have its DisplayOptionsBase.visibility set to Visible when the workbook is saved, another worksheet will be selected.
The selected worksheet of the workbook.ArgumentNullException The assigned value is null and this is an instance of WorkbookWindowOptions whose associated workbook has at least one Worksheet.
ArgumentException The assigned value does not belong to the workbook associated with this instance of WindowOptions.
Gets or sets the selected worksheet of the workbook.
If this is an instance of CustomViewWindowOptions and the SelectedWorksheet value is null, the workbook's selected worksheet will not be changed when the associated CustomView is applied.
Note: If the selected worksheet does not have its DisplayOptionsBase.visibility set to Visible when the workbook is saved, another worksheet will be selected.
The selected worksheet of the workbook.ArgumentNullException The assigned value is null and this is an instance of WorkbookWindowOptions whose associated workbook has at least one Worksheet.
ArgumentException The assigned value does not belong to the workbook associated with this instance of WindowOptions.
Gets or sets the value indicating whether Microsoft Excel will display the formula bar when the CustomView owning these window options is applied.
Note: This setting cannot be saved with a Workbook in the Excel file. It can only be saved with a CustomView. Therefore, there is no corresponding property in WorkbookWindowOptions and calling CustomView.apply on the associated CustomView will not apply this property. Only by applying the custom view through the Microsoft Excel user interface will the setting on this property be applied.
The value indicating whether Microsoft Excel will display the formula bar when the CustomView owning these window options is applied.Gets or sets the value indicating whether Microsoft Excel will display the status bar when the CustomView owning these window options is applied.
Note: This setting cannot be saved with a Workbook in the Excel file. It can only be saved with a CustomView. Therefore, there is no corresponding property in WorkbookWindowOptions and calling on the associated CustomView will not apply this property. Only by applying the custom view through the Microsoft Excel user interface will the setting on this property be applied.
The value indicating whether Microsoft Excel will display the status bar when the CustomView owning these window options is applied.Gets or sets the value indicating whether the worksheet tab bar is visible.
If the value is False, the tabBarWidth will not be used, but it will still be serialized with the workbook.
The value indicating whether the worksheet tab bar is visible.Gets or sets the width of the worksheet tab bar, expressed in 1/1000ths of the application width.
This value is only used if tabBarVisible is True. Regardless of whether the tab bar is visible, the width value is always saved with the workbook.
A value of 1000 indicates the worksheet tab bar occupies the entire width of the application, while a value of 0 indicates the worksheet tab bar has no width.
All space not occupied by the worksheet tab bar will be used by the horizontal scroll bar, if it is visible.
The width of the worksheet tab bar, expressed in 1/1000ths of the application width.ArgumentOutOfRangeException The value assigned is outside the valid range of 0 and 1000.
Static
compareStatic
compareStatic
equalsStatic
equalsStatic
getStatic
getStatic
getStatic
reference
Represents the workbook window options which are saved with custom views.
The properties explicitly defined on this class and not inherited from the base class, WindowOptions, are options that can be saved with a custom view, but not with a workbook. Therefore, these properties will not be applied when the CustomView.apply method is called.
See