Click or drag to resize

RangesCollection Methods

The RangesCollection type exposes the following members.

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