SpreadsheetGear 2012
IRange Interface Methods

For a list of all members of this type, see IRange members.

Public Methods
 NameDescription
 MethodActivateSets the active cell of the worksheet associated with this IRange to the top-left cell of this IRange.  
 MethodAddCommentAdds a single comment with the specified text to the single cell represented by this range.  
 MethodAutoFillAutomatically fills the destination range given the starting values from this range and the specified AutoFillType.  
 MethodAutoFilterOverloaded. Adds autofilter dropdowns to the columns of the specified range if none exist, or removes autofilter dropdowns if they do exist.  
 MethodAutoFitAutomatically sets the width of the specified columns or the height of the specified rows.  
 MethodClearClears formulas, values and all formatting from the current IRange.  
 MethodClearCommentsClears all comments associated with any cells in this range.  
 MethodClearContentsClears formulas and values from the current IRange.  
 MethodClearFormatsClears all formatting from the current IRange.  
 MethodClearOutlineClears the specified represented row or column outline levels, or all outline levels of the associated worksheet if this range does not represent rows or columns.  
 MethodCopyOverloaded. Copies the cells, rows and/or columns of the current IRange to the destination IRange.  
 MethodCopyDownCopies values, formulas and formats in the top row of the range to subsequent rows.  
 MethodCopyFromDataTableCopies the specified DataTable to this range.  
 MethodCopyRightCopies values, formulas and formats in the left column of the range to subsequent columns.  
 MethodDataSeriesFill this range with a data series based on the specified type and options.  
 MethodDeleteOverloaded. Deletes cells, rows or columns, shifting remaining cells left or up and fixing up formulas.  
 MethodFillDownCopies from the top row of this range to the remaining rows.  
 MethodFillLeftCopies from the right column of this range to the preceding columns.  
 MethodFillRightCopies from the left column of this range to the remaining columns.  
 MethodFillUpCopies from the bottom row of this range to the preceding rows.  
 MethodFindSearches for the specified text according to the specified options, and returns an IRange representing the found cell or null if no cell is found.  
 MethodGetAddressReturns a string representing the address of the range.  
 MethodGetAreaReturns the zero based instance of IRange specified by index.  
 MethodGetCharactersReturns an instance of ICharacters which represents a range of characters belonging to a text cell.  
 MethodGetDataSetReturns a newly created data set from the cells referred to by this IRange.  
 MethodGetDataTableReturns a newly created data table from the cells referred to by this IRange.  
 MethodGetEnumerator (Inherited from System.Collections.IEnumerable)
 MethodGoalSeekAttempts to achieve the specified goal, from the calculated result of the formula in the cell represented by this IRange, by modifying the specified changingCell using a simple iterative linear search.  
 MethodGroupIncrements the OutlineLevel of the specified rows or columns.  
 MethodInsertOverloaded. Inserts rows or columns by shifting rows down or columns right and fixing up formulas and formats.  
 MethodIntersectReturns a new range which consists of the intersection of this range and range2, or null if the ranges do not intersect.  
 MethodMergeMerges the cells in the represented range into a single merged cell.  
 MethodOffsetReturns a copy of the current IRange which is offset by the specified number of rows and columns.  
 MethodReplaceAttempts to replace the specified text according to the specified options, returning the number of replacements if successful or zero if not successful.  
 MethodSaveAsSaves this range using the specified filename and FileFormat, and updates the FullName property.  
 MethodSaveToMemorySaves this range to a newly created memory buffer in the specified FileFormat.  
 MethodSaveToStreamSaves this range to a stream in the specified FileFormat.  
 MethodSelectSets the current selection of the worksheet associated with the this range to the cells in this range.  
 MethodSortSorts the cells represented by this range according to the specified options.  
 MethodSubtractReturns a new range which consists of this range with range2 removed, or null if the resulting range is empty.  
 MethodTableSets up this range as a data table calculation range with the specified row input cell, column input cell or both.  
 MethodUngroupDecrements the OutlineLevel of the specified rows or columns.  
 MethodUnionReturns a new range which consists of the union of this range and range2.  
 MethodUnMergeConverts merged cells in the represented range to normal cells.  
Top
See Also

Reference

IRange Interface
SpreadsheetGear Namespace
Cells Property

Send Feedback