IRange Interface Members

Spread.Services Documentation
IRange Interface Members
Properties Methods Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members

GrapeCity.Documents.Spread Namespace : IRange Interface

The following tables list the members exposed by IRange.

Public Properties

| Name | Description
--- | --- | ---
| AddIndent | Gets or sets the property which controls indentation of text when horizontal or vertical alignment is set to distributed.
| Areas | Returns an instance of IAreas which represents an array of IRanges where each IRange returned by IAreas represents one cell or range.
| Borders | Returns an instance of IBorders which represents the cell borders of the cell or range represented by this IRange.
| Cells | Returns the IRange object that represents the cells in the specified range.
| Column | Returns the zero based column number of the first column of this IRange.
| Columns | Returns the IRange object that represents the columns in the specified range.
| ColumnWidth | Gets or sets the width of the individual columns represented in this range in characters.
| ColumnWidthInPixel | Gets or sets the width of the individual columns represented in this range in pixels.
| Comment | Returns an instance of IComment which may be used to get and set Comment properties of the cells.
| Count | Returns the number of objects in the collection.
| CurrentArray | Gets whether the specified cell is part of an array, returns an IRange object that represents the entire array.
| DisplayFormat | Gets a DisplayFormat object that represents the display settings for the specified range.
| EntireColumn | Returns a new instance of IRange which represents the same range of cells, but expanded to include all rows.
| EntireMergeArea | Returns an IRange representing the area of the current IRange which is iteratively grown as needed until it includes no partial merged cells.
| EntireRow | Returns a new instance of IRange which represents the same range of cells, but expanded to include all columns.
| Font | Returns an instance of IFont which may be used to get and set font properties of the cells represented by this IRange.
| FormatConditions | Returns a FormatConditions collection that represents all the conditional formats for the specified range.
| Formula | Gets or sets the formula of the cells represented by this IRange.
| FormulaArray | Gets or sets the array formula of a range.
| FormulaHidden | Gets or sets whether the formula will be hidden when the worksheet is protected
| FormulaR1C1 | Gets or sets the value or formula of the cells represented by this IRange using ReferenceStyle.R1C1.
| HasArray | Determines if the specified cell is part of an array formula.
| HasFormula | Returns true if the cell or range contains any formulas; otherwise, false is returned.
| HasValidation | Returns true if any of the cells represented by this range have data validation associated with them.
| Height | Gets the height, in points, of the range.
| HeightInPixel | Gets the height, in pixels, of the range.
| Hidden | Gets or sets the property which specifies whether rows or columns should be hidden.
| HorizontalAlignment | Gets or sets the HorizontalAlignment of a cell or range.
| Hyperlinks | Returns an instance of IHyperLinks which may be used to get and set HyperLinks properties.
| IndentLevel | Gets or sets the indent level of the specified cell(s).
| Interior | Returns the IInterior which represents the interior (background) color and pattern of the specified cell(s).
| Item | Overloaded. Returns a new instance of IRange which is offset from this IRange.
| Locked | Gets or sets the property which specifies whether cells should be locked.
| MergeArea | Returns an IRange representing the merged range containing the specified cell. If the specified cell isn't in a merged range, this property returns the specified cell.
| MergeCells | Gets or sets the property which specifies whether cells are merged.
| NumberFormat | Gets or sets the number format of the cells in the range.
| Orientation | Gets or sets the text orientation of a cell or range, which may be from -90 to 90 degrees.
| OutlineLevel | Gets or sets the current outline level of the specified row or column.
| ReadingOrder | Gets or sets the reading order for the specified object.
| Row | Returns the zero based row number of the first row.
| RowHeight | Gets or sets the height of the individual rows represented by this range in points.
| RowHeightInPixel | Gets or sets the height of the individual rows represented by this range in pixels.
| Rows | Returns the IRange object that represents the rows in the specified range.
| ShowDetail | Gets or sets whether to show the detail (Returns True if the outline is expanded for the specified range, so that the detail of the column or row is visible). The specified range must be a single summary column or row in an outline (read or write).
| ShrinkToFit | Gets or sets the property which specifies whether cells will be drawn in a smaller font if needed to display the contents of the cell.
| SparklineGroups | Returns an instance of ISparklineGroups which may be used to get and set SparklineGroups properties of the cells
| Style | Gets or sets the named style IStyle associated with the cells represented by this IRange.
| Summary | Determines if the range is an outlining summary row or column.
| Text | Gets the value of the cell represented by this IRange as a formatted string.
| UseStandardHeight | Determines if the row height of the IRange object equals the standard height of the sheet.
| UseStandardWidth | Determines if the column width of the IRange object equals the standard width of the sheet.
| Validation | Returns an instance of IValidation which may be used to get and set validation properties of the cells represented by this IRange.
| ValidationIsSame | Returns true if the validation options of all cells represented by this IRange are the same; otherwise, false is returned.
| Value | Gets the value of the specified range as a string, double, bool", object[,] or null; or sets the value of the specified cell as a string, double, int32, int64, int16, bool, System.DateTime, object[,] or null.
| VerticalAlignment | Gets or sets the VerticalAlignment of a cell or range.
| Width | Gets the width, in points, of the range.
| WidthInPixel | Gets the width, in pixels, of the range.
| Worksheet | Returns the parent Worksheet of this range.
| WrapText | Get or sets the flag which indicates whether word wrap is enabled in a cell.

Top
Public Methods

| Name | Description
--- | --- | ---
| Activate | Activates a single cell, which must be inside the current selection.
| AddComment | Adds comments to the current IRange.
| AutoFilter | Filters a list using the AutoFilter.
| Calculate | Calculates formulas of the range as needed.
| Clear | Clears formulas, values, and all formatting from the current IRange.
| ClearComments | Clears the comments from the current IRange
| ClearContents | Clears formulas and values from the current IRange.
| ClearFormats | Clears all formatting from the current IRange.
| ClearHyperlinks | Clears all hyperLinks from the current IRange.
| ClearOutline | Clears the outline for the specified range.
| Copy | Copies the range to the specified range.
| Cut | Cuts the range to the specified range.
| Delete | Deletes a cell or a range of cells from the worksheet and shifts other cells to replace deleted cells. Specifies which way to shift the cells.
| Dirty | Designates all the formulas of the range to be recalculated when the next calculation occurs.
| Group | Increments the OutlineLevel of the specified rows or columns.
| Insert | Inserts a cell or a range of cells into the worksheet and shifts other cells away to make space. Specifies which way to shift the cells.
| Merge | Merges the cells in the represented range into a single merged cell.
| Select | Selects the object.
| Sort | Overloaded. Sorts the cells represented by this range according to the specified options.
| Ungroup | Decrements the OutlineLevel of the specified rows or columns.
| UnMerge | Converts merged cells in the represented range to normal cells.

Top
See Also

#### Reference

IRange Interface
GrapeCity.Documents.Spread Namespace

Copyright © GrapeCity, inc. All rights reserved.

Send Feedback