Version

Search Results

CustomViewCollection Class

A collection of CustomView instances in a workbook. Syntax

CustomViewCollection Class Members

Public Properties Public Methods

Add(String,Boolean,Boolean) Method

Adds a new custom view to the collection. Syntax Parameters name The name to give the newly created custom view.savePrintOptions True to save print options for each worksheet with the custom view; False otherwise.saveHiddenRowsAndColumns True to save information about hidden rows and columns for each worksheet wit...

Add Method (CustomViewCollection)

Adds a new custom view to the collection. Overload List

Clear Method (CustomViewCollection)

Clears all custom views from the collection. Syntax

Contains Method (CustomViewCollection)

Determines whether a custom view is in this collection. Syntax Parameters customView The custom view to locate in the collection. Return Value True if the custom view is found; False otherwise.

Count Property (CustomViewCollection)

Gets the number of custom views in the collection. Syntax Property Value The number of custom views in the collection.

Item(Int32) Property

Gets the custom view at the specified index. Syntax Parameters index The zero-based index of the custom view to get. Property Value The custom view at the specified index. Exceptions Exception Description System.ArgumentOutOfRangeException index is less than zero or index is greater than or equal to Count.