XlsRangesCollection Methods | 
The XlsRangesCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| 
 | 
Activate | 
 
Activages a single cell, scroll to it and activates the respective sheet
To select a range of cells, use the Select method.
 
 | 
| 
 | 
Add | 
 
Adds new range to the collection.
 
 | 
| 
 | 
AddComment | 
 
Adds comment to the range.
 
 | 
| 
 | 
AddRange | 
 
Adds range to the collection.
 
 | 
| 
 | 
AutoFitColumns | 
 
Autofits all columns.
 
 | 
| 
 | 
AutoFitRows | 
 
Autofits all rows.
 
 | 
| 
 | 
BorderAround | 
 
Sets around border for current range.
 
 | 
| 
 | 
BorderAround(LineStyleType) | 
 
Sets around border for current range.
 
 | 
| 
 | 
BorderAround(LineStyleType, ExcelColors) | 
 
Sets around border for current range.
 
 | 
| 
 | 
BorderAround(LineStyleType, Color) | 
 
Sets around border for current range.
 
 | 
| 
 | 
BorderInside | 
 
Sets inside border for current range.
 
 | 
| 
 | 
BorderInside(LineStyleType) | 
 
Sets inside border for current range.
 
 | 
| 
 | 
BorderInside(LineStyleType, ExcelColors) | 
 
Sets inside border for current range.
 
 | 
| 
 | 
BorderInside(LineStyleType, Color) | 
 
Sets inside border for current range.
 
 | 
| 
 | 
BorderNone | 
 
Sets none border for current range.
 
 | 
| 
 | 
Clear | 
 
Removes all objects from the System.Collections.CollectionBase instance.
 
(Inherited from
CollectionBase
T
.)
 | 
| 
 | 
ClearConditionalFormats | 
 
Clears conditional formats.
 
 | 
| 
 | 
Clone(Object) | 
 
Creates copy of the collection.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
Clone(Object, Dictionary String, String , XlsWorkbook) | 
 
Clones current IXLSRange.
 
 | 
| 
 | 
CollapseGroup | 
 
Collapses current group.
 
 | 
| 
 | 
Contains | 
 
Determines whether the collection contains a specific item.
 
(Inherited from
CollectionBase
T
.)
 | 
| 
 | 
CopyTo | 
 
Copies the elements of the collection to an array, starting at a particular array index.
 
(Inherited from
CollectionBase
T
.)
 | 
| 
 | 
EnsureCapacity | 
 
Enlarges internal storage if necessary.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
Equals | 
 
Determines whether the specified object is equal to the current object.
 
(Inherited from
Object
.)
 | 
| 
 | 
ExpandGroup(GroupByType) | 
 
Expands current group.
 
 | 
| 
 | 
ExpandGroup(GroupByType, ExpandCollapseFlags) | 
 
Expands current group.
 
 | 
| 
 | 
ExportDataTable | 
Obsolete.
 
Exports data to a DataTable based on the provided ExportTableOptions.
 
 | 
| 
 | 
Finalize | 
 
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
 
(Inherited from
Object
.)
 | 
| 
 | 
FindAll(Boolean) | 
 
This method seraches for the all cells with specified bool value.
 
 | 
| 
 | 
FindAll(DateTime) | 
 
This method seraches for the all cells with specified DateTime value.
 
 | 
| 
 | 
FindAll(TimeSpan) | 
 
This method seraches for the all cells with specified TimeSpan value.
 
 | 
| 
 | 
FindAll(Double, FindType) | 
 
This method seraches for the all cells with specified double value.
 
 | 
| 
 | 
FindAll(String, FindType) | 
 
This method seraches for the all cells with specified string value.
 
 | 
| 
 | 
FindFirst(Boolean) | 
 
This method seraches for the first cell with specified bool value.
 
 | 
| 
 | 
FindFirst(DateTime) | 
 
This method seraches for the first cell with specified DateTime value.
 
 | 
| 
 | 
FindFirst(TimeSpan) | 
 
This method seraches for the first cell with specified TimeSpan value.
 
 | 
| 
 | 
FindFirst(Double, FindType) | 
 
This method seraches for the first cell with specified double value.
 
 | 
| 
 | 
FindFirst(String, FindType) | 
 
This method seraches for the first cell with specified string value.
 
 | 
| 
 | 
FindParent(Type) | 
 
Method used to find parent within a specific type.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
FindParent(Type, Boolean) | 
 
Method used to find parent within a specific type.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
FreezePanes | 
 
Freezes pane at the current range.
 
 | 
| 
 | 
GetColumnRows | 
 
Retrieves an array of CellRange objects representing either columns or rows based on the provided flag.
 
 | 
| 
 | 
GetEnumerator | 
 
Returns an enumerator that iterates through the collection.
 
 | 
| 
 | 
GetHashCode | 
 
Serves as the default hash function.
 
(Inherited from
Object
.)
 | 
| 
 | 
GetNewRangeLocation | 
 
Gets new address of range.
 
 | 
| 
 | 
GetRectangles | 
 
Returns array that contains information about range.
 
 | 
| 
 | 
GetRectanglesCount | 
 
Returns number of rectangles returned by GetRectangles method.
 
 | 
| 
 | 
GetType | 
 
Gets the
Type
of the current instance.
 
(Inherited from
Object
.)
 | 
| 
 | 
IndexOf | 
 
Returns the zero-based index of the first occurrence of a specified item within the collection.
 
(Inherited from
CollectionBase
T
.)
 | 
| 
 | 
Insert | 
 
Inserts an element into the list at the specified index.
 
(Inherited from
CollectionBase
T
.)
 | 
| 
 | 
Intersect | 
 
Returns intersection of this range with the specified one.
 
 | 
| 
 | 
MemberwiseClone | 
 
Creates a shallow copy of the current
Object
.
 
(Inherited from
Object
.)
 | 
| 
 | 
Merge | 
 
Creates a merged cell from the specified Range object.
 
 | 
| 
 | 
Merge(Boolean) | 
 
Creates a merged cell from the specified Range object.
 
 | 
| 
 | 
Merge(IXLSRange) | 
 
Returns merge of this range with the specified one.
 
 | 
| 
 | 
MoveTo | 
 
Moves the current object to the specified destination range.
 
 | 
| 
 | 
OnClear | 
 
OnClear is invoked before Clear behavior.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
OnClearComplete | 
 
OnClear is invoked after Clear behavior.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
OnInsert | 
 
Performs additional processes before inserting
a new element into the collection.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
OnInsertComplete | 
 
Performs additional processes after inserting
a new element into the collection.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
OnRemove | 
 
Performs additional processes before removing
an element from the collection.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
OnRemoveComplete | 
 
Performs additional processes after removing
an element from the collection.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
OnSet | 
 
Performs additional processes before setting
a value in the collection.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
OnSetComplete | 
 
Performs additional processes after setting a value in the collection.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
Remove | 
 
Removes range from the collection.
 
 | 
| 
 | 
RemoveAt | 
 
Removes the element at the specified index of this instance.
 
(Inherited from
CollectionBase
T
.)
 | 
| 
 | 
SetParent | 
 
Sets parent object for class.
 
(Inherited from
CollectionExtended
T
.)
 | 
| 
 | 
ToString | 
 
Returns a string that represents the current object.
 
(Inherited from
Object
.)
 | 
| 
 | 
UnMerge | 
 
Separates a merged area into individual cells.
 
 |