CellRange Class

This class represents a range of table cells.
Inheritance Hierarchy
SystemObject
  Teigha.DatabaseServicesCellRange
    Teigha.DatabaseServicesCell
    Teigha.DatabaseServicesColumn
    Teigha.DatabaseServicesRow

Namespace: Teigha.DatabaseServices
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public class CellRange : ISubObject, IEnumerable

The CellRange type exposes the following members.

Constructors
  Name Description
Protected method CellRange Initializes a new instance of the CellRange class
Top
Properties
  Name Description
Public property Alignment Property that represents cell alignment for the cell range. This property can be one of the following: Name Value Description TopLeft 1 Left-justified text at a point specified for the top of the text within a text table cell. TopCenter 2 Centers text at a point specified for the top of the text within a text table cell. TopRight 3 Right-justified text at a point specified for the top of the text within a text table cell. MiddleLeft 4 Left-justifies text at a point specified for the middle of the text within a text table cell. MiddleCenter 5 Centers text at a point specified for the middle of the text within a text table cell. MiddleRight 6 Right-justifies text at a point specified for the middle of the text within a text table cell. BottomCenter 7 Left-justifies text at a point specified for the bottom of the text within a text table cell. BottomLeft 8 Centers text at a point specified for the bottom of the text within a text table cell. BottomRight 9 Right-justifies text at a point specified for the bottom of the text within a text table cell.
Public property BackgroundColor Property that represents background color for the cell range.
Public property Borders Property that represents cell borders for a cell range.
Public property BottomRight Property that represents a bottom-right cell in a cell range.
Public property BottomRightPlusOne Property that represents a cell that is one row down from the last row and one column right from the last column in a cell range.
Public property BottomRow Property that represents an index of a bottom row.
Public property CanDeleteColumns Property that indicates whether all columns can be deleted from the cell range.
Public property CanDeleteRows Property that indicates whether all rows can be deleted from the cell range.
Public property CanInsertColumn Property that indicates whether a cell range can insert a column at the left column index.
Public property CanInsertRow Property that indicates whether a cell range can insert a column at the top row index.
Public property ContentColor Property that represents content color for the cell range.
Public property ContentLayout Property that represents content layout of a cell range. This property can be one of the following: Name Value Description Flow 1 Contents flow from left to right and top to bottom. StackedHorizontal 2 Contents are stacked horizontally. StackedVertical 3 Contents are stacked vertically.
Public property DataFormat Property that represents data format of the cell range.
Public property DataType Property that represents a DataTypeParameter instance encapsulating data type and unit type of a cell range.
Public property IsBackgroundColorNone Property that indicates whether background color is disabled for the cell range.
Public property IsContentEditable Property that indicates whether all cells in this cell range are editable.
Public property IsEmpty Property that indicates whether all cells in this cell range are empty.
Public property IsFormatEditable Property that indicates whether cell format can be edited for all cells in the cell range.
Public property IsLinked Property that indicates whether all cells in the cell range are linked to their data sources.
Public property IsMergeAllEnabled Property that indicates whether the merge-all flag is enabled for the cell range.
Public property IsMerged Property that indicates whether all cells in the cell range are merged.
Public property IsNull Property that indicates whether the cell range is NULL.
Public property IsSingleCell Property that indicates whether the cell range contains single cells and not merged cells. Top-left cell is a target cell that is tested whether its a part of merged cell.
Public property Item  
Public property LeftColumn Property that represents an index of a left column.
Public property Parent Property that represents a parent object (table) of this cell range.
Public property ParentTable Property that represents a parent object (table) from which this cell range is taken.
Public property RightColumn Property that represents an index of a right column.
Public property State Property that represents state for a cell range. This property can be one of the following: Name Value Description None 0 No defined state. ContentLocked 1 Cell's content is locked. ContentReadOnly 2 Cell's content is read-only. Linked 3 Cell is linked to a data source. ContentModifiedAfterUpdate 4 Cell's content has been modified since last update. FormatLocked 5 Cell's format is locked. Can be unlocked by user. FormatReadOnly 6 Cell's format is read-only. FormatModifiedAfterUpdate 7 Cell's format has been modified since last update.
Public property Style Property that represents cell style of the cell range.
Public property TextHeight Property that represents text height of the cell range.
Public property TextStyleId Property that represents Object ID of the text style for the cell range.
Public property TopLeft Property that represents a top-left cell in a cell range.
Public property TopRow Property that represents an index of a top row.
Top
Methods
  Name Description
Public method ClearStyleOverrides Clears the table style overrides from the cells.
Public methodStatic member Create Creates a range of cells in a table.
Public method DeleteContent Deletes content from the cells.
Public method Equals Checks objects for equality.
(Overrides ObjectEquals(Object))
Protected method Finalize
(Inherited from Object)
Public method GetCustomData Returns the custom data value of the currently enumerated cell.
Public method GetDataLink Returns the data links for this range of cells.
Public method GetEnumerator Returns the enumerator for this range of cells.
Public method GetHashCode Retrieves the object hash code.
(Overrides ObjectGetHashCode)
Public method GetStyleOverrides Returns the cell style overrides for this cell range.
Public method GetType
(Inherited from Object)
Public method IEnumerableGetEnumerator Returns the enumerator for this range of cells.
Protected method MemberwiseClone
(Inherited from Object)
Public method SetCustomData Sets the custom data value for this cell range.
Public method SetDataLink Sets the data link for this cell range.
Public method ToString
(Inherited from Object)
Top
Operators
  Name Description
Public operatorStatic member Equality(CellRange, CellRange) Equality operator for the CellRange class. Checks whether cell ranges are equal.
Public operatorStatic member Inequality(CellRange, CellRange) Inequality operator for the CellRange class. Checks whether cell ranges are not equal.
Top
See Also

©  Bricsys NV. All rights reserved.