SpreadsheetGear The Performance Spreadsheet Component Company 
IRange Interface Methods
See Also 
SpreadsheetGear Namespace : IRange Interface


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

Public Methods

 NameDescription
 MethodActivate Sets the active cell of the worksheet associated with this IRange to the top-left cell of this IRange.  
 MethodAddComment Adds a single comment with the specified text to the single cell represented by this range.  
 MethodAutoFit Automatically sets the width of the specified columns or the height of the specified rows.  
 MethodClear Clears formulas, values and all formatting from the current IRange.  
 MethodClearComments Clears all comments associated with any cells in this range.  
 MethodClearContents Clears formulas and values from the current IRange.  
 MethodClearFormats Clears all formatting from the current IRange.  
 MethodClearOutline Clears 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.   
 MethodCopyDown Copies values, formulas and formats in the top row of the range to subsequent rows.  
 MethodCopyFromDataTable Copies the specified DataTable to this range.  
 MethodCopyRight Copies values, formulas and formats in the left column of the range to subsequent columns.  
 MethodDeleteOverloaded.   
 MethodFind Searches for the specified text according to the specified options, and returns an IRange representing the found cell or null if no cell is found.  
 MethodGetAddress Returns a string representing the address of the range.  
 MethodGetArea Returns the zero based instance of IRange specified by index.  
 MethodGetCharacters Returns an instance of ICharacters which represents a range of characters belonging to a text cell.  
 MethodGetDataSet Returns a newly created data set from the cells referred to by this IRange.  
 MethodGetDataTable Returns a newly created data table from the cells referred to by this IRange.  
 MethodGroup Increments the OutlineLevel of the specified rows or columns.  
 MethodInsertOverloaded.   
 MethodIntersect Returns a new range which consists of the intersection of this range and range2, or null if the ranges do not intersect.  
 MethodMerge Merges the cells in the represented range into a single merged cell.  
 MethodOffset Returns a copy of the current IRange which is offset by the specified number of rows and columns.  
 MethodReplace Attempts to replace the specified text according to the specified options, returning the number of replacements if successful or zero if not successful.  
 MethodSelect Sets the current selection of the worksheet associated with the this range to the cells in this range.  
 MethodSort Sorts the cells represented by this range according to the specified options.  
 MethodSubtract Returns a new range which consists of this range with range2 removed, or null if the resulting range is empty.  
 MethodUngroup Decrements the OutlineLevel of the specified rows or columns.  
 MethodUnion Returns a new range which consists of the union of this range and range2.  
 MethodUnMerge Converts merged cells in the represented range to normal cells.  
Top

See Also